Search:

Type: Posts; User: Engel32

Search: Search took 0.01 seconds.

  1. Thread: Functions.....

    by Engel32
    Replies
    2
    Views
    1,099

    It is just trying to give you an example of a...

    It is just trying to give you an example of a function... a function can be used over and over again if you need to, so you don't have to keep re-writing the code. On a simple program it is easier...
  2. Replies
    3
    Views
    25,629

    What is "using namespace std; "

    I keep seeing people using this line in their code... I've never seen it til this forum... what does it do???
  3. Thread: Compilers...

    by Engel32
    Replies
    2
    Views
    815

    Compilers...

    What are some good compilers??? Right now I am using MS Visual C++ (standard). I've heard of Borland and I think a couple others... which one is the best???
  4. Thread: Pausing

    by Engel32
    Replies
    5
    Views
    1,239

    Try using this command... you might need to...

    Try using this command... you might need to include <conio.h> or <stdlib.h>

    cout<<"\nPress any key to continue."<<endl;

    getch();

    if it wants you to input a character before it outputs the...
  5. Replies
    5
    Views
    1,478

    This is easier than the previous... ...

    This is easier than the previous...

    SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE);

    Or for a brighter blue...
    ...
  6. Thread: Points saved

    by Engel32
    Replies
    1
    Views
    1,052

    You would have to create a file that you can read...

    You would have to create a file that you can read into a linked list. Then you would have to implement a search function for your linked list to search for existing names, then you would have to...
  7. Replies
    1
    Views
    1,485

    Copy this code into your source... when I ran...

    Copy this code into your source... when I ran it, it had 4 errors, I fixed them and it ran just fine...

    #include <cmath>
    #include <iostream>
    using namespace std;

    //Function prototype for...
  8. Replies
    2
    Views
    996

    You are most likely missing a } symbol... ...

    You are most likely missing a } symbol... Print out your source code, and match them all up to find the missing segment.
  9. Thread: reverse string

    by Engel32
    Replies
    4
    Views
    1,434

    Which string class are you using??? ...

    Which string class are you using??? <string.h> or <apstring.h> ???
  10. Replies
    2
    Views
    1,227

    Try fixing the #include statements... #include...

    Try fixing the #include statements...

    #include <iostream.h>
    #include <cmath.h>

    ...
  11. Thread: linked list

    by Engel32
    Replies
    2
    Views
    892

    struct NODE { int 1; NODE *next;...

    struct NODE
    {
    int 1;

    NODE *next;
    };

    main
    {
    NODE *head=0;
  12. Thread: pointer

    by Engel32
    Replies
    2
    Views
    1,128

    What kind of error are you getting??? You...

    What kind of error are you getting???

    You might need to declare your char name and char type as char name[20] and char type[10] or you could use a string class like

    #include <string.h>
    ...
  13. Thread: functions

    by Engel32
    Replies
    7
    Views
    1,203

    Functions don't have a clue about anything except...

    Functions don't have a clue about anything except for whats in the function... The arguments are in case the function needs something outside of the funcion. i.e.

    if you have a function

    void...
  14. Replies
    1
    Views
    1,476

    Console text...

    Is there even a way to change the font for a windows console program (MSVC), I can't find anything on it in the MSDN. I want to change the font, not the color.
  15. Replies
    1
    Views
    1,043

    Console screen sizes...

    Is there a way to set the console window to 'maximized' at startup??? or do I have to use the SetConsoleWindowInfo() function to manually set the locatioin???
  16. Replies
    5
    Views
    1,348

    Thanks, that fixed the problem...

    Thanks, that fixed the problem...
  17. Replies
    5
    Views
    1,348

    I tried using _getch(); but it gave me the same...

    I tried using _getch(); but it gave me the same problem... any more suggestions???
  18. Replies
    5
    Views
    1,348

    Help with getch();

    Why does getch(); have to get the character before it will output the cout<< before it???

    void displayalbum(NODE* &head,apstring &album)
    {
    NODE *node=head;
    int count=0;

    cout<<"\n";
    ...
  19. Replies
    3
    Views
    1,109

    Hmm... Seeming how remove() is a standard c...

    Hmm... Seeming how remove() is a standard c function, and this is a C++ context thread, you people need to be more specific... But I already figured it out so thanks.
  20. Replies
    3
    Views
    1,109

    P.S. I don't know if it helps, but it is a...

    P.S. I don't know if it helps, but it is a Windows console application...
  21. Replies
    1
    Views
    1,345

    Don't try to change the name of the entire...

    Don't try to change the name of the entire workspace... Open the .cpp file, copy the contents (make sure you get the #include statements), then open a new workspace and paste the .cpp file from the...
  22. Replies
    3
    Views
    1,109

    Deleting unopened files...

    How do I delete a file that isn't opened for input or output.. I am using MSVS 6.0
Results 1 to 22 of 22