Search:

Type: Posts; User: superstonerman

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,319

    Thank you very much to everyone who helped me. if...

    Thank you very much to everyone who helped me. if anyones interested heres the completed program:



    // Runas Program Created by SuperStonerMan

    #include <iostream>
    #include <cstring>...
  2. Replies
    8
    Views
    1,319

    Thanks sprintf( control , "access.cpl\0" ); works...

    Thanks sprintf( control , "access.cpl\0" ); works fine. The problem is however that I need a quotation mark at the end of access.cpl. So the output is: access.cpl".

    How would I code this as I...
  3. Replies
    8
    Views
    1,319

    Thanks for your help but im having problems with...

    Thanks for your help but im having problems with strings. Iv read the following tutorial:
    http://www.cprogramming.com/tutorial/string.html

    But the the follwoing code wont compile:



    #include...
  4. Replies
    8
    Views
    1,319

    Can someone help me with this source

    hey everyone iv got a problem with the below source and I cant understand why it wont compile. When i try to compile it I get the following error:

    105 runassrc.cpp incompatible types in assignment...
  5. I can’t believe I missed that lol I must read...

    I can’t believe I missed that lol I must read over the code like ten times. Thanks.
    One more quick question is there any difference compiling C source code on windows or Linux when the functions of...
  6. Iv modified the code to create a larger program...

    Iv modified the code to create a larger program but when trying to compile the code in GCC in mac os x I keep getting the error:
    program.c: In function 'main':
    program.c:43: error: parse error...
  7. oh actually after checking it doesnt. i just...

    oh actually after checking it doesnt. i just changed the code more than i had thought from the original from the site. This is the original code from the cprogramming site:



    #include <stdio.h>...
  8. Thanks for your help. the reaons i was so...

    Thanks for your help. the reaons i was so confused is that cprogramming.com says u need the & in the printf statement. oh well i guess their wrong lol. thanks
  9. Thanks for your help it works now. I made the...

    Thanks for your help it works now. I made the changes you suggested. One question though why do we use the & before the variable in the scanf statements but not printf statements:

    scanf("&#37;d", &p);...
  10. Can sumone help me with this piece of code im close to tearing out my hair

    Hello everyone im new to this forum so id like to use this first post to say hello.
    Anyway im new to C and am currentley learning the basics. I am trying to create a simple program that will take...
Results 1 to 10 of 10