Search:

Type: Posts; User: bluenoser

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,583

    Hey, Thanks everyone for the help. I still don't...

    Hey, Thanks everyone for the help. I still don't have it working although it's not from lack of trying and I'm off to Toronto on a 6:00 a.m. flight until Monday so I'll give it thought all week-end....
  2. Replies
    5
    Views
    1,583

    Just an update folks, I've tried a few different...

    Just an update folks, I've tried a few different takes on your suggestions and now the least I get is 10 errors. Was I missing any tags? When would a ',' preceed a ';'. That is one of the errors that...
  3. Replies
    5
    Views
    1,583

    Rectangle tangle help???

    Hello all! I am in a beginner c++ class and have been struggling with this problem. I get a lot of error warnings but don't know what to do to fix it. I tried everything that I can think of and am...
  4. Replies
    1
    Views
    1,358

    printing function results???

    I've written a couple of functions that print out lines in a square or stars to make a circle. I want to write another function that prints out both functions as a series of square and circle...
  5. Replies
    3
    Views
    1,144

    Thanks greatly All! I Completely understand now.

    Thanks greatly All! I Completely understand now.
  6. Replies
    3
    Views
    1,144

    for in an if and if yes how?

    That subject line just rolls right over the tongue eh! Greetings!
    I would just like to know if I can use a "for" in an "if" statement. If yes then what is the correct method. What also about a...
  7. Replies
    2
    Views
    1,519

    Hey thanks! I should have thought of that !!!

    Hey thanks!
    I should have thought of that !!!
  8. Replies
    2
    Views
    1,519

    determine if input pos or neg ?

    Hi all !
    I have two questions really.
    (1). I need to determine if a number resulting from scanf is neg or pos. If neg it will do one thing and if pos another but i don't know the protocol for " if...
  9. Replies
    8
    Views
    1,570

    I got my prog to work alright with just a for...

    I got my prog to work alright with just a for and print statement.


    for(a=1; a <= num_a; a++)
    fprintf(outfile, "*",a);


    Value of num_a determined prior of course. Now on to the next...
  10. Replies
    8
    Views
    1,570

    Thanks citizens! I think I need to give this some...

    Thanks citizens! I think I need to give this some more thought.
  11. Replies
    8
    Views
    1,570

    Declare an operator a variable?

    Hello all!
    It's a brand new day and a brand new query. I would like to use an operator as a variable (in particular '*'). I want to print out a number of '*' horizontally that reflect the...
  12. Replies
    24
    Views
    2,939

    Thanks guys! I finally got it. You were...

    Thanks guys!
    I finally got it. You were both right about the 8x7 not being 8*7 of course and all your help was useful and appreciated. I am on to another set of exersizes now so I may have to...
  13. Replies
    24
    Views
    2,939

    Hmmm! I don't think I understand what you mean....

    Hmmm! I don't think I understand what you mean. The previous calculation was 4-2 with the result being 2 then when the loop repeats it should read 8*7 with result being 15. I am trying to make...
  14. Replies
    24
    Views
    2,939

    Thanks ......... I'm starting to get pretty...

    Thanks ......... I'm starting to get pretty blurry on this file now. I should have known about the braces but that still does not allow my program to execute. I keep going over it in the debugger but...
  15. Replies
    24
    Views
    2,939

    Good Morning! (at least it is here) I have...

    Good Morning! (at least it is here)
    I have changed the code yet again and while it certainly is looking good it won't even give a result now (just the error message). I don't know much yet about...
  16. Replies
    24
    Views
    2,939

    Thanks for all the help. I am learning much by...

    Thanks for all the help. I am learning much by this problem and I know it helps with the future ones. I'll try your suggestions and see what it does .......thks agin!
  17. Replies
    24
    Views
    2,939

    Well I included the fclose's and moved the (y ==...

    Well I included the fclose's and moved the (y == 0) to the top. I actually got a result this time and half of it is what I want but the other half isn't so it's still fair to say that progress is...
  18. Replies
    24
    Views
    2,939

    Thanks for the advice but I had just realized...

    Thanks for the advice but I had just realized myself about the mistake with the (y == '0') line. I've rewritten it and while I think I understand the do while statement I must be missing something....
  19. Replies
    24
    Views
    2,939

    Greetings! I wish that it was the infile...

    Greetings!
    I wish that it was the infile because I could solve that, but when I take out the if else statements it reads the file OK. I don't however get the results that I want. I am using the...
  20. Replies
    24
    Views
    2,939

    Thanks fellas, the prog still doesn't work...

    Thanks fellas,
    the prog still doesn't work without a windows error and a crash so I guess there is more wrong than I thought. The .in file is with the other files all in the same directory. I...
  21. Replies
    24
    Views
    2,939

    I've changed the code but still get windows...

    I've changed the code but still get windows error messages and then the file crashs. Any more suggestions about why? Thanks all in advance !!

    #include <stdio.h>

    int main()
    {
    FILE* infile;...
  22. Replies
    24
    Views
    2,939

    Thanks for the really quick response but while we...

    Thanks for the really quick response but while we have covered the break and continue commands in class I am not familiar with switch and case so I had better stay with what is being taught. It's...
  23. Replies
    24
    Views
    2,939

    newbie needs advice!

    Hello all! Just started taking an evening course in C (brand new to programming)and am enjoying it immensely. I am however having a couple of problems with understanding what I know are pretty basic...
Results 1 to 23 of 23