print function does not work properly

This is a discussion on print function does not work properly within the C++ Programming forums, part of the General Programming Boards category; Hi This is my code for submitting students but when i use search function the course member is empty Code: ...

  1. #1
    Registered User
    Join Date
    Jul 2011
    Location
    Pune, Maharashtra, India
    Posts
    33

    print function does not work properly

    Hi
    This is my code for submitting students
    but when i use search function the course member is empty
    Code:
    #include "windows.h"
    #include "iostream"
    #include <io.h>
    #include <sstream>
    #include <conio.h>
    #include <stdlib.h>
    #include <iostream>
    #define SIZE 5
    using std::cout;
    using std::cin;
    using namespace std;
    int   menu();
    
    class student {
        public :
         char  name[20];
         char  family[20];
    	 int   year;
    	 int   stno;
         float ave;
    	 int id;
    	 char namep[20];//father name
    	 float grade[2];
    	 char  course[20];
    public:
         student() { name[0] = '\0';}
         void  enter();
         int   getStno() { return stno; }
         void  print(int &);
         int  search(int no);
         void put();
    
    };
    //*************************
    
    
    void gotoxy(int x,int y){
      HANDLE hConsole;
      COORD cursorLoc;
      std::cout.flush();
      cursorLoc.X = x;
      cursorLoc.Y = y;
      hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
      SetConsoleCursorPosition(hConsole, cursorLoc);
    }
    //********************
    void student::enter()
    {
    int i;
    float sum=0;
    char s[20];
     system("cls");
    
    
    
       //************sabt moshakhasat**************
       cout <<"Name	"<<"family	"<<"course		"<<"Rollno	"<<"year	"<<"ID	"<<"Father-n"<<endl;
       cin >> name;
       gotoxy(8, 13);
       cin >> family;
       gotoxy(16, 13);
       cin >> course;
       gotoxy(32, 13);
       cin >> stno;
       gotoxy(48, 13);
       cin >> year;
        gotoxy(56, 13);
       cin >> id;
        gotoxy(64, 13);
       cin >> namep;
       cout<<endl;
        strcpy(s,course);
        //cout<<course;
        cout << "please enter  grade for each student:"<<endl;
        if(strcmp(s,"MBA")==0){
    
    	      cout <<"Physic ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(strcmp(s,"Art")==0)
    	   {
    	         cout <<"history ";
              cin >>grade[0];
              cout <<"Geography";
              cin >>grade[1];
               cout <<"English ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(strcmp(s,"Sience")==0)
    	   {
         cout <<"Biology ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
               cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
            cout<<endl;
    
       }
    //*****************
    void student::print(int& row)
    {
    
        cout<<row;
    	gotoxy(4,15);
       cout << "name is:"<<name<<"\n";
    
       cout <<"family:"<< family<<endl;
       cout <<"father name:"<< namep<<endl;
       cout <<"id:"<< id<<endl;
       cout <<"course:"<<course<<endl;//error??????
      
    
       cout <<"year:"<<year<<endl;
    
       cout <<"Roll no:"<<stno<<endl;
       cout << endl;
       cout <<"\t **Result** "<<endl;
    
    if(strcmp(course,"MBA")==0){
              cout <<"Physic ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
    
     cout <<"\t **Result** "<<endl;
       cout <<ave;
    }
    if(strcmp(course,"Sience")==0){
              cout <<"Biology ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
       cout <<"\t **Result** "<<endl;
       cout <<ave;
    }
    if(strcmp(course,"Art")==0){
              cout <<"history ";
              cout<<grade[0];
              cout <<"Geography";
              cout<<grade[1];
              cout <<"English ";
              cout<<grade[2];
    
     cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
       row ++;
    
    }
    //******************
    
    int main()
    {
        student *st;
       int i, c,tno;
    
       st=new student[SIZE];
       for(;;) {
    	  system("cls");
          c = menu();
          switch (c) {
    	     case 1 :
    
    	       cout<<"how many student you want";
    	       cin>>tno;
    	      for(i=1;i<=tno;i++)
    		        st[i].enter();
    	        break;
    	     case 2 :
    	        //findMax();
    	        break;
    	     case 3 :
    	       // del();
    	        break;
    	     case 4 :
    	     st[i].put();
    	     cout << "\nEnter Roll no to search :";
    	     cin>>tno;
    	      for(int i=0;i<=SIZE;i++){
               int flag=st[i].search(tno);
                        if(flag==1)
                            st[i].print(tno);
    	      }
    	        break;
    	     case 5 :
    	        exit(0) ;
          } // end of switch
       } //end of for(;;)
    }
    //*************************
    int menu()
    {
      int c;
     // system("cls");
      gotoxy(5, 1);
      cout << "1) Enter a student.";
      gotoxy(5, 2);
      cout << "2) Find best student.";
      gotoxy(5, 3);
      cout << "3) Delete a student.";
      gotoxy(5, 4);
      cout << "4) Search a student.";
      gotoxy(5, 5);
      cout << "5) Exit.";
    
      do {
         gotoxy(5, 7);
         cout << "Enter your select(1-5) : ";
         cin >> c;
      } while (c < 1 && c > 5);
      return c;
    }
    
    
    int  student::search(int no)
    {
    
        int flag=0;
        int i;
        int tno=stno;
    
    
       if(tno == no) {
    
                return 1;
                    flag=1;
                    //std::cin.get();
       }
      if(flag=0) {
            cout << "Student " << no << " not exist."
    	      << "Press a key to continue...";
    	      std::cin.get();
                return 0;
       }
    
    std::cin.get();
    }
    void student::put(){
          cout<<course;//error
    }
    Thanks

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,171
    Is there a reason you do not use std::string and std::vector?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  3. #3
    Registered User hex_dump's Avatar
    Join Date
    Dec 2012
    Posts
    88
    couple things for me...and I'm sure other board members will mention.

    if you have have line 11 where you already included the std namespace, there is no need to have the using directive for cout and cin.

    also check your int student::search() function. AFTER your return from the function. you set the flag to 1...since you already returned that flag will never be set to 1 if tno == no.

    as well on line 256
    Code:
     if(flag = 0
    I think you wanted
    Code:
    if(flag == 0)
    also, don't use define...use const instead as this is the c++ norm.
    get rid of the .h in your header files and use the more up to date headers.
    finally, personally i found your code hard to read, and in some places it's formatted badly. However I would start off with some meaningful variable naming scheme. But that's just me.

  4. #4
    Registered User hex_dump's Avatar
    Join Date
    Dec 2012
    Posts
    88
    Quote Originally Posted by Elysia View Post
    Is there a reason you do not use std::string and std::vector?
    This looks like homework to me so I'm assuming the OP isn't allowed to use the STL yet, or perhaps hasn't gotten into them.

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,171
    Even if it is homework, it is dumb not to use the STL facilities that exist. Learning how to program is often learning how to use these facilities, not reinventing them!
    So unless this is some school homework where they have a professor who bans these, I am afraid I must insist they are used.
    Besides, we do not know.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  6. #6
    Registered User hex_dump's Avatar
    Join Date
    Dec 2012
    Posts
    88
    Quote Originally Posted by Elysia View Post
    Even if it is homework, it is dumb not to use the STL facilities that exist. Learning how to program is often learning how to use these facilities, not reinventing them!
    So unless this is some school homework where they have a professor who bans these, I am afraid I must insist they are used.
    Besides, we do not know.
    Maybe but there are two schools of thought when learning C++. Some think it's better to learn the C basics first and then introduce classes and the STL later, while other like to jump right into the STL and start using them pretty much from the biginning ala "Accelerated programming"

    The OP is using a lot of C in this and lacking on the C++ aspect and I too would be interested to see if it is homework or s/he is just coming from a C background...

  7. #7
    Registered User
    Join Date
    Jul 2011
    Location
    Pune, Maharashtra, India
    Posts
    33
    I fix some issue but my problem is still re mine
    After searching the print function does not show the value of "course"
    The new code is
    Code:
    #include "windows.h"
    #include "iostream"
    #include <io.h>
    #include <sstream>
    #include <conio.h>
    #include <stdlib.h>
    #include <iostream>
    #define SIZE 5
    
    using namespace std;
    int   menu();
    
    class student {
        public :
         char  name[20];
         char  family[20];
    	 int   year;
    	 int   stno;
         float ave;
    	 int id;
    	 char namep[20];//father name
    	 float grade[2];
    	 char  course[20];
    public:
         student() { name[0] = '\0';}
         void  enter();
         int   getStno() { return stno; }
         void  print(int &);
         int  search(int no);
         void put();
    
    };
    //*************************
    
    
    void gotoxy(int x,int y){
      HANDLE hConsole;
      COORD cursorLoc;
      std::cout.flush();
      cursorLoc.X = x;
      cursorLoc.Y = y;
      hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
      SetConsoleCursorPosition(hConsole, cursorLoc);
    }
    //********************
    void student::enter()
    {
    int i;
    float sum=0;
    char s[20];
     system("cls");
    
    
    
       //************sabt moshakhasat**************
       cout <<"Name	"<<"family	"<<"course		"<<"Rollno	"<<"year	"<<"ID	"<<"Father-n"<<endl;
       cin >> name;
       gotoxy(8, 13);
       cin >> family;
       gotoxy(16, 13);
       cin >> course;
       gotoxy(32, 13);
       cin >> stno;
       gotoxy(48, 13);
       cin >> year;
        gotoxy(56, 13);
       cin >> id;
        gotoxy(64, 13);
       cin >> namep;
       cout<<endl;
        strcpy(s,course);
        //cout<<course;
        cout << "please enter  grade for each student:"<<endl;
        if(strcmp(s,"MBA")==0){
    
    	      cout <<"Physic ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(strcmp(s,"Art")==0)
    	   {
    	         cout <<"history ";
              cin >>grade[0];
              cout <<"Geography";
              cin >>grade[1];
               cout <<"English ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(strcmp(s,"Sience")==0)
    	   {
         cout <<"Biology ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
               cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
            cout<<endl;
    
       }
    //*****************
    void student::print(int& row)
    {
    
        cout<<row;
    	gotoxy(4,15);
       cout << "name is:"<<name<<"\n";
    
       cout <<"family:"<< family<<endl;
       cout <<"father name:"<< namep<<endl;
       cout <<"id:"<< id<<endl;
       cout <<"course:"<<course<<endl;//Error is here //////////////////////////////////////////////////////
        cout <<"course:"<<course<<endl;
    
       cout <<"year:"<<year<<endl;
    
       cout <<"Roll no:"<<stno<<endl;
       cout << endl;
       cout <<"\t **Karname** "<<endl;
    
    if(strcmp(course,"MBA")==0){
              cout <<"Physic ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
    
     cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
    if(strcmp(course,"Sience")==0){
              cout <<"Biology ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
       cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
    if(strcmp(course,"Art")==0){
              cout <<"history ";
              cout<<grade[0];
              cout <<"Geography";
              cout<<grade[1];
              cout <<"English ";
              cout<<grade[2];
    
     cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
       row ++;
       std::cin.get();
    }
    //******************
    
    int main()
    {
        student *st;
       int i, c,tno;
    
       st=new student[SIZE];
       for(;;) {
    	  system("cls");
          c = menu();
          switch (c) {
    	     case 1 :
    
    	       cout<<"how many student you want";
    	       cin>>tno;
    	      for(i=1;i<=tno;i++)
    		        st[i].enter();
    	        break;
    	     case 2 :
    	        //findMax();
    	        break;
    	     case 3 :
    	       // del();
    	        break;
    	     case 4 :
                        int flag;
                        st[i].put();
                        cout << "\nEnter Roll no to search :";
                        cin>>tno;
                for(int i=0;i<=SIZE;i++){
                                flag=st[i].search(tno);
                                if(flag==1)
                                st[i].print(tno);
    
                                }
                if(flag==0) {
                 cout << "Student " << tno << " not exist."
                    << "Press a key to continue...";
                    std::cin.get();
                }
                    std::cin.get();
    	        break;
    	     case 5 :
    	        exit(0) ;
          } // end of switch
       } //end of for(;;)
    }
    //*************************
    int menu()
    {
      int c;
     // system("cls");
      gotoxy(5, 1);
      cout << "1) Enter a student.";
      gotoxy(5, 2);
      cout << "2) Find best student.";
      gotoxy(5, 3);
      cout << "3) Delete a student.";
      gotoxy(5, 4);
      cout << "4) Search a student.";
      gotoxy(5, 5);
      cout << "5) Exit.";
    
      do {
         gotoxy(5, 7);
         cout << "Enter your select(1-5) : ";
         cin >> c;
      } while (c < 1 && c > 5);
      return c;
    }
    
    int  student::search(int no)
    {
    
        int flag=0;
        int i;
        int tno=stno;
    
    
       if(tno == no) {
    
                return 1;
       }
      else {
            return 0;
       }
    
    }
    void student::put(){
          cout<<course;
    }

  8. #8
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,171
    You failed to address post #2.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  9. #9
    Registered User hex_dump's Avatar
    Join Date
    Dec 2012
    Posts
    88
    I'm not on windows so i can't compile this so, have you tried to compile this? If so please post the errors you're getting.

  10. #10
    Registered User
    Join Date
    Jul 2011
    Location
    Pune, Maharashtra, India
    Posts
    33
    Hi there is no compile error but in execution crash happened I use also string function after finding record in print function the program stop and close (crash)
    There is some thing wrong in course member???
    Code:
    cout<<course;
    This is the whole code after chnge and use compare function
    Code:
    #include "windows.h"
    #include "iostream"
    #include <io.h>
    #include <sstream>
    #include <conio.h>
    #include <stdlib.h>
    #include <iostream>
    #include <string>
    #define SIZE 5
    
    using namespace std;
    int   menu();
    
    class student {
        public :
         char  name[20];
         char  family[20];
    	 int   year;
    	 int   stno;
         float ave;
    	 int id;
    	 char namep[20];//father name
    	 float grade[2];
    	 string  course;
    public:
         student() { name[0] = '\0';}
         void  enter();
         int   getStno() { return stno; }
         void  print(int &);
         int  search(int no);
         void put();
    
    };
    //*************************
    
    
    void gotoxy(int x,int y){
      HANDLE hConsole;
      COORD cursorLoc;
      std::cout.flush();
      cursorLoc.X = x;
      cursorLoc.Y = y;
      hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
      SetConsoleCursorPosition(hConsole, cursorLoc);
    }
    //********************
    void student::enter()
    {
    int i;
    float sum=0;
    string s;
     system("cls");
    
    
    
       //************Submit **************
       cout <<"Name	"<<"family	"<<"course		"<<"Rollno	"<<"year	"<<"ID	"<<"Father-n"<<endl;
       cin >> name;
       gotoxy(8, 13);
       cin >> family;
       gotoxy(16, 13);
       cin >> course;
       gotoxy(32, 13);
       cin >> stno;
       gotoxy(48, 13);
       cin >> year;
        gotoxy(56, 13);
       cin >> id;
        gotoxy(64, 13);
       cin >> namep;
       cout<<endl;
    
        //cout<<course;
        cout << "please enter  grade for each student:"<<endl;
        if (course.compare("MBA") == 0){
    
    	      cout <<"Physic ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(course.compare("Art") == 0)
    	   {
    	         cout <<"history ";
              cin >>grade[0];
              cout <<"Geography";
              cin >>grade[1];
               cout <<"English ";
              cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
    
       else if(course.compare("Sience") == 0)
    
    	   {
         cout <<"Biology ";
              cin >>grade[0];
              cout <<"Mathmatic ";
              cin >>grade[1];
               cout <<"Chemeist ";
               cin >>grade[2];
    
                sum=0;
          for(i=0;i<3;i++){
                            sum=sum+grade[i];
                        }
            ave=sum/3;}
            cout<<endl;
    
       }
    //*****************
    void student::print(int& row)
    {
    
        cout<<row;
    	gotoxy(4,15);
       cout << "name is:"<<name<<"\n";
    
       cout <<"family:"<< family<<endl;
       cout <<"father name:"<< namep<<endl;
       cout <<"id:"<< id<<endl;
       cout <<"course:"<<course<<endl;
    
    
       cout <<"year:"<<year<<endl;
    
       cout <<"Roll no:"<<stno<<endl;
       cout << endl;
       cout <<"\t **Mark sheet** "<<endl;
    
    if(course.compare("MBA") == 0){
              cout <<"Physic ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
    
     cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
    if(course.compare("Sience") == 0){
              cout <<"Biology ";
              cout<<grade[0];
              cout <<"Mathmatic ";
              cout<<grade[1];
               cout <<"Chemeist ";
              cout<<grade[2];
       cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
    if(course.compare("Art") == 0){
              cout <<"history ";
              cout<<grade[0];
              cout <<"Geography";
              cout<<grade[1];
              cout <<"English ";
              cout<<grade[2];
    
     cout <<"\t **moadel kol for this student** "<<endl;
       cout <<ave;
    }
       row ++;
       std::cin.get();
    }
    //******************
    
    int main()
    {
        student *st;
       int i, c,tno;
    
       st=new student[SIZE];
       for(;;) {
    	  system("cls");
          c = menu();
          switch (c) {
    	     case 1 :
    
    	       cout<<"how many student you want";
    	       cin>>tno;
    	      for(i=1;i<=tno;i++)
    		        st[i].enter();
    	        break;
    	     case 2 :
    	        //findMax();
    	        break;
    	     case 3 :
    	       // del();
    	        break;
    	     case 4 :
                        int flag;
                        st[i].put();
                        cout << "\nEnter Roll no to search :";
                        cin>>tno;
                for(int i=0;i<=SIZE;i++){
                                flag=st[i].search(tno);
                                if(flag==1)
                                st[i].print(tno);
    
                                }
                if(flag==0) {
                 cout << "Student " << tno << " not exist."
                    << "Press a key to continue...";
                    std::cin.get();
                }
                    std::cin.get();
    	        break;
    	     case 5 :
    	        exit(0) ;
          } // end of switch
       } //end of for(;;)
    }
    //*************************
    int menu()
    {
      int c;
     // system("cls");
      gotoxy(5, 1);
      cout << "1) Enter a student.";
      gotoxy(5, 2);
      cout << "2) Find best student.";
      gotoxy(5, 3);
      cout << "3) Delete a student.";
      gotoxy(5, 4);
      cout << "4) Search a student.";
      gotoxy(5, 5);
      cout << "5) Exit.";
    
      do {
         gotoxy(5, 7);
         cout << "Enter your select(1-5) : ";
         cin >> c;
      } while (c < 1 && c > 5);
      return c;
    }
    
    int  student::search(int no)
    {
    
        int flag=0;
        int i;
        int tno=stno;
    
    
       if(tno == no) {
    
                return 1;
       }
      else {
            return 0;
       }
    
    }
    void student::put(){
          cout<<course;
    }
    thanks

  11. #11
    Registered User hex_dump's Avatar
    Join Date
    Dec 2012
    Posts
    88
    if you're program is crashing, it means you're trying to access memory you don't own. So you'll have to trace the program to see what is being assigned to the 'course' variable and when.

    I'd also clean up your code before posting again. for example:

    -if all the attributes of student are public then you only need to specify "public" once

    -you should also place your headers in < > (angle brackets)...in " " says your telling the compiler to look in your present directory for those headers.

    -I'd also get rid of the ".h" suffix in your headers as well and include
    Code:
    <cstdlib> and <cstring>
    for the C headers you want to use.

    -finally in your main function on line 185 you allocate an array of SIZE elements of student type....then in line 192-196 you ask the user how many students they want and store it in the variable tno...what happens if tno entered is greater than SIZE?

  12. #12
    Registered User
    Join Date
    Jul 2011
    Location
    Pune, Maharashtra, India
    Posts
    33
    I change the code . I follow the code I assign just once in enter function
    I confues
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. modf function doesn't work properly
    By paranoidgnu in forum C Programming
    Replies: 1
    Last Post: 06-29-2011, 09:59 AM
  2. Replies: 2
    Last Post: 12-09-2009, 11:04 AM
  3. trying to get a few functions to work properly...
    By lemonwaffles in forum C++ Programming
    Replies: 3
    Last Post: 07-15-2009, 11:00 PM
  4. Can't Get This Program To Work Properly
    By jbyers19 in forum C Programming
    Replies: 5
    Last Post: 03-09-2006, 09:59 PM
  5. GetAsyncKeyState() won't work properly!
    By SyntaxBubble in forum Windows Programming
    Replies: 1
    Last Post: 04-30-2002, 03:03 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21