Search:

Type: Posts; User: bobnet

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,342

    thanks, just found out myself, learn the whole s...

    thanks, just found out myself, learn the whole s string part and was a about to reply that I found a solution!

    Good to see I was on the right track
  2. Replies
    4
    Views
    2,342

    simple File I/O question

    Hello

    Below is a piece of code that opens a file.
    if I got readFile(fileName) where "fileName" is a string containing a file the program does not compile.




    string fileName;
    fileName =...
  3. Replies
    4
    Views
    1,610

    Thanks joshdick and bennyandthejets I guess...

    Thanks joshdick and bennyandthejets

    I guess new allocattes memory on the heap and delete frees up resources after
  4. Replies
    4
    Views
    1,610

    array in structure help

    I have a structure with an array, but the array size I know only after my program has done something else which would then set the varSize variable. But how do I do this if the array is in a...
  5. Replies
    4
    Views
    1,617

    Thanks for your input. lol not for a school...

    Thanks for your input.

    lol not for a school assignment, bit to old for school lol. Just picked up a c programming book and giving it a shot
  6. Replies
    4
    Views
    1,617

    reading digits from a text file

    Hello,

    I'm learning c myself (not c++, I'm trying not to use objects)

    I have have a bunch of text files (created by a perl program)

    They contain a bunch of letters and random numbers from 0...
  7. Replies
    1
    Views
    1,254

    command line argument help

    I've read the command line tutorial and I under stand it, but whats the "standard" process to accept arugments with switches ?

    eg
    PROGRAM: myApp
    OPTIONS: -a somethingA
    -b...
  8. Replies
    4
    Views
    980

    I know I have to use a header file.. I...

    I know I have to use a header file..

    I understand that gloab vars etc go into the header file, but how do I link all this together so that main() calls hello() and hello calls bye() which is...
  9. Replies
    4
    Views
    980

    spilting source into many files

    hello,

    How do I spilt the source code from 1 big file into smaller files?

    I have a simple program which has the functions main(), hello(), bye() ...

    how do I put main() and hello() in 1...
  10. Replies
    4
    Views
    1,283

    lol, I feel so n00bi, I realized it and changed...

    lol, I feel so n00bi, I realized it and changed the post but you beet me to it!

    Thanks again to funkydude9
  11. Replies
    4
    Views
    1,283

    thanks,

    thanks,
  12. Replies
    4
    Views
    1,283

    creating structures help

    hello,

    I have read the tutorial on strutures and I have a simple question.
    I would try it out myself but don't have a compiler on hand.

    Say I've defined a struture



    struct example
Results 1 to 12 of 12