Search:

Type: Posts; User: Roint

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    1,609

    I see. Thanks again

    I see. Thanks again
  2. Replies
    13
    Views
    1,609

    I just have one more question; why exactly did...

    I just have one more question; why exactly did you use this to obtain the option's value:



    if ( strncmp( buff, optionKey, Keylen ) == 0 )
    {
    strncpy( optionValue, &buff[Keylen], optionLen );...
  3. Replies
    13
    Views
    1,609

    Thanks, everyone, you've all helped me a lot. ...

    Thanks, everyone, you've all helped me a lot.

    - Roint
  4. Replies
    13
    Views
    1,609

    I tried using the static array, but I need to be...

    I tried using the static array, but I need to be able to change the variable in the rest of the function. Here's the whole program (it's not very big) if this clarifies anything:
    ...
  5. Replies
    13
    Views
    1,609

    Pointers and functions

    Why is it that when I pass a regular charcter array:


    char optionValue[20];

    as the return value to a function that uses a character pointer as it's return type:



    char *funcName(int a,...
  6. Replies
    10
    Views
    2,769

    For console editors, I suggest: nano - Extremely...

    For console editors, I suggest:
    nano - Extremely easy to use.
    joe - fairly easy to use.
    pico - much like nano.

    For editors in X, I suggest:
    nedit - designed for programming
    xedit - comes with...
  7. Replies
    3
    Views
    1,246

    Ok. Thanks. I was just porting an MS-DOS program...

    Ok. Thanks. I was just porting an MS-DOS program to Linux, and I didn't know wether to keep the clrscr() function of conio.h in it to replicate it as much as possible. I guess I should just avoid...
  8. Replies
    3
    Views
    1,246

    Clearing the screen.

    Since I use Linux, would you consider it bad programming practise to use STDIO.H's system() function to clear the screen like this:


    system("clear");
  9. Replies
    7
    Views
    3,192

    My Way

    I'm not experianced, (only a year in C++) but I vary rarely use functions other than "main()" unless I have to.

    But this is from a 14 year old redneck, so don't go on that.
  10. Replies
    7
    Views
    2,567

    Levels

    I'll list what I think are the levels of language, from LOW to HIGH.

    Machine code
    C
    C++
    Java
    BASIC
    AppleScript
  11. Thread: C++ Problem

    by Roint
    Replies
    3
    Views
    1,101

    Thanks

    Thanks everybody!
  12. Thread: C++ Problem

    by Roint
    Replies
    3
    Views
    1,101

    C++ Problem

    I've been learning C++ for about a year now, and it's the first lower-level language I've learned. Anyway, here's my problem:

    I have a program with a
    while() loop in it. Inside this loop is a ...
Results 1 to 12 of 12