Search:

Type: Posts; User: Smiley10

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    1,459

    Thanks for the replies.

    Thanks for the replies.
  2. Replies
    13
    Views
    1,459

    C++ string contents

    #include <iostream>
    #include <string>
    using namespace std;

    int main() {
    string str = "Hello\0World";
    const char *c_str = str.c_str();

    for(int i = 0; i < 20; i++) {
    cout...
  3. Thank you.

    Thank you.
  4. obaid's code is modifying a string literal too...

    obaid's code is modifying a string literal too which are constant.

    Why are there no standard restrictions on modifying string literals?
  5. Replies
    17
    Views
    3,141

    Try using a batch file or create a program which...

    Try using a batch file or create a program which uses ShellExecute() or ShellExecuteEx().
  6. Replies
    0
    Views
    966

    Reading large programs

    Ok so I go and download the source code for filezilla from sourceforge in the hopes that I can learn some stuff. I'd like to compile this so I can use it with the gdb debugger in MinGW but...
  7. Replies
    12
    Views
    2,042

    You haven't assigned a value to i and then you're...

    You haven't assigned a value to i and then you're saying k = i. That's like me telling you there is a number called x which I don't know the value of and y = x, can you tell me the what number y is?...
  8. Replies
    2
    Views
    11,068

    I have four files in my lib folder: libeay32.def,...

    I have four files in my lib folder: libeay32.def, ssleay32.def, libeay32.a and ssleay32.a. Adding -leay32 to my linker works fine but how would I add ssleay32.a?

    EDIT: Ok I figured I just had to...
  9. Replies
    2
    Views
    11,068

    Using OpenSSL with Dev-C++

    How would I go about installing OpenSSL for Dev-C++? I've tried installing the source by using MinGW 5.0.0 and Dev-C++ beta (which didn't have MinGW already installed). I've tried installing the...
  10. Thread: Plz Help!!

    by Smiley10
    Replies
    5
    Views
    1,117

    scanf("%d", &income); Should be %f tax =...

    scanf("%d", &income);
    Should be %f


    tax = '0';}
    Surrounding the zero in single quotes turns it into a character and I think you'll be getting the ASCII value rather than 0.


    else(income >...
Results 1 to 10 of 10