Search:

Type: Posts; User: vanilly

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,680

    there's no unmount either, it changed the floppy...

    there's no unmount either, it changed the floppy drive into a textfile....i'm using the KDE desktop
  2. Replies
    4
    Views
    1,680

    saving in linux

    I'm trying to save my c program to a disk, but it won't work...its doing really weird things, its saving to floppy, then when I go to mount it, the mount option is not there, i'm actually just...
  3. Thread: Cela...

    by vanilly
    Replies
    1
    Views
    1,127

    Cela...

    thank you so much
    that code works, except, for a large integer....the code changes it this is what my output looked like:


    [root@CPE0010b53e159e-CM root]# gcc getData.c
    [root@CPE0010b53e159e-CM...
  4. Replies
    9
    Views
    2,335

    thanks

    thank you very much, however, the only thing that still doesn't work with that code, is that if you enter in a really large number, it changes it

    Please Enter in a positive number, then hit ENTER...
  5. Replies
    9
    Views
    2,335

    I do need the sizeof, because, i have to compare...

    I do need the sizeof, because, i have to compare its size in bytes, so that if its over the max bytes in an int, it will give the error msg...
  6. Replies
    9
    Views
    2,335

    thanks, but its still not doign what i'd like ...

    thanks, but its still not doign what i'd like

    Please Enter in a positive number, then hit ENTER
    dg
    That is not an integer
    [root@CPE0010b53e159e-CM root]# ./a.out
    Please Enter in a positive...
  7. Replies
    7
    Views
    1,277

    like this?

    #include <stdio.h>




    unsigned int getInputData(){
    unsigned int digit;
    printf("Please Enter in a positive number, then hit ENTER\n");
  8. Replies
    9
    Views
    2,335

    why won't this code compile?

    #include <stdio.h>




    unsigned int getInputData(){
    unsigned int digit;
    printf("Please Enter in a positive number, then hit ENTER\n");
  9. Replies
    1
    Views
    1,083

    Someone please HELP!

    Can someone please help me with my integer problem on my other post, read the last thing i put in....thanx!!!

    i'm going crazy here trying to fix it.....:confused:
  10. Replies
    7
    Views
    1,277

    hmm,....

    I can't really use anything i haven't learned yet, so i can't implement limits.h, and use the SZE_Max or whatever it was...I was told to use the SizeOf function, basically, the getInputData function...
  11. Replies
    7
    Views
    1,277

    RE:

    well, see I can't use strings or arrays i can only use the usual I/O method functions to read single characters only
  12. Replies
    4
    Views
    2,123

    thanks!

    thanks a lot for your help!
  13. Replies
    7
    Views
    1,277

    integer problems

    hi, I would like my program to nottice something, like a letter, and give an error, right now its just transforming it to an int, a very large one, and using the wrong error msg...here is my code
    ...
  14. Replies
    4
    Views
    2,123

    Re:

    would that still work in my function?
    cuz I dont' want to put that in my main method



    I tried, what you said, and now I get this warning

    getData.c:14: warning: passing arg 1 of `printf'...
  15. Replies
    4
    Views
    2,123

    SizeOf function

    Hi everyone, i'm just starting out with C, and i'm not too sure how to use the SizeOf Function, I need to use it to verify that an inputted integer is not greater than the maximun number of bytes...
Results 1 to 15 of 16