Search:

Type: Posts; User: ecsx00

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    2,708

    Can you show me how to put it in a makefile? I...

    Can you show me how to put it in a makefile? I have been trying but I have no luck.
  2. Replies
    14
    Views
    2,708

    So in Entry: typedef char Entry; ...

    So in Entry:


    typedef char Entry;


    Definition of Queue:


    const int MaxQueueSize = 100;
  3. Replies
    14
    Views
    2,708

    Queue :: Queue(int size) { size=0; count=0;...

    Queue :: Queue(int size)
    { size=0;
    count=0;
    MaxElements=256; }


    Queue :: ~Queue()
    { clear(); }
  4. Replies
    14
    Views
    2,708

    Sorry guys was busy. Will post up initfromcopy...

    Sorry guys was busy. Will post up initfromcopy code up. It should be there tho
  5. Replies
    14
    Views
    2,708

    double free or corruption (fasttop) help

    I am sure the operator= isn't overloaded correctly but how can I fix this? My friend looked at this and also helped me on the overload operators and we have identical operators to help debug. Did I...
  6. compiler keeps giving undefined reference errors

    hey guys so there is this program i am working on. it has a symbolic link so the main() i cant modify. each run or compile i would get undefined reference errors. could someone tell me some general...
  7. Replies
    4
    Views
    1,044

    is there a specific documentation for it? google...

    is there a specific documentation for it? google gives me several different ones.
    i have a fixed code. it performs almost what i want to do but it goes into an infinite loop


    #include <stdio.h>...
  8. Replies
    4
    Views
    1,044

    testing if input is a number

    hey guys so this program works by putting a number which denotes how much input is expected so lets just say i first input 5, so then i input 5 numbers like 10 20 30 40 50 and it computes the average...
  9. Replies
    2
    Views
    1,031

    Adak, currently there isnt one because I havent...

    Adak, currently there isnt one because I havent figured a way to make a new function to test numbers. i was going to assign the input into different declarations but that doesnt work out. the program...
  10. Replies
    2
    Views
    1,031

    help getting program to test numbers

    hey guys im trying to get my program to test if a line of numbers from a ".dat" file is largest to smallest like 80 75 64 35. if it is then it should not count those as grades. it will count and...
  11. Replies
    9
    Views
    1,090

    I am not that familiar with those two functions...

    I am not that familiar with those two functions but all i need is if I input the semicolon then a letter i want an error message to appear and then display the letter after that. sort of like instead...
  12. Replies
    9
    Views
    1,090

    i forgot to include the new code so here it is: ...

    i forgot to include the new code so here it is:



    #include <stdio.h>




    int main()
  13. Replies
    9
    Views
    1,090

    hey thanks dude! that worked. if i wanted the...

    hey thanks dude! that worked. if i wanted the program to print another message but the conditions are there must be a letter before a ';' like a ; b instead of ; b
    is there a way to test if the...
  14. Replies
    9
    Views
    1,090

    ok i kind of have an idea of what you meant but...

    ok i kind of have an idea of what you meant but what does this have to do with crashing?
  15. Replies
    9
    Views
    1,090

    hey adak, thanks for the suggestion. i have...

    hey adak, thanks for the suggestion.
    i have tried that and it does something similar to my current problem.
    this is how i corrected it:
    *also i was wondering if i should make another "if"...
  16. Replies
    9
    Views
    1,090

    help with program

    hey guys so i was doing what commontater said and i remade the program i was suppose to modify(not make). its working to an extent that it prints my error message even if the input is within the...
  17. tweaked code a little bit with an added...

    tweaked code a little bit with an added nonworking print statement



    #include <string.h>
    #include <stdio.h>

    int main (void)
    {
    char *legalchars =...
  18. CommonTater yea thanks for the tip/info. i am...

    CommonTater yea thanks for the tip/info. i am right now remaking and tweaking the code to get it to do what i want it to do overall.
    the only thing is if lets say i enter an "illegal" character i...
  19. CommonTater, thanks man now I have an idea how...

    CommonTater, thanks man now I have an idea how the function works. ill come back in a few hours if i cant get a print statement to show up but thanks for the big help!
  20. that makes more sense but i havent used arrays or...

    that makes more sense but i havent used arrays or i dont even know how to use them but i have tidy the program a bit and here is what i ended up with



    #include <stdio.h>

    int GetLegalInput(...
  21. CommonTater thanks for the reply. so the new...

    CommonTater thanks for the reply.
    so the new code looks like this with ur function implemented
    but " input = GetLegalInput(legalchars); " i dont know exactly where i should put this.


    ...
  22. questions about character input and ignoring certain characters

    hey the program that i am modding displays a letter(only the first and ignores all others) i made a minor mod on the program so that whitespaces are not read and ignored include tab spaced. i want...
  23. Replies
    8
    Views
    1,548

    yes I have, I am going to rewrite the entire code...

    yes I have, I am going to rewrite the entire code again to make things easy to read for me and everyone.
  24. Replies
    8
    Views
    1,548

    will do but i have gotten the program for...

    will do but i have gotten the program for determining leap years done it just i have to somehow assign the integers input for month to display words
  25. Replies
    8
    Views
    1,548

    i know this isnt final and its a temp so i will...

    i know this isnt final and its a temp so i will write them out again
Results 1 to 25 of 41
Page 1 of 2 1 2