General C++ Programming - March 2010 (Page 14)

problem in input of values, never ending loop starts.
 
i made this first project, but there are some problems. Cant fix it. The problem is that when I enter two words e.g "notes payable" in liability particulars i...
[2 replies] Last: thanks zhuge....i did it, now the new problem is that it dosnt take th... (by kingfrz)
by rekcha
Strange access violation only when debugging
 
I'm observing very strange behavior when I'm debugging my program. Everything is fine and dandy at breakpoint 1. At breakpoint 2, the memory at *watcher is co...
[1 reply] : I can also use the "Attach to process" debugging feature just fine... ... (by rekcha)
Assistance need to make a simple game
 
Have tried to think of how to start a solution but am still seeing stars!!! I want to design a small game that does the following: Information available: ...
[2 replies] Last: Hi I did try to start, but things were not connecting.I was trying to ... (by gnwillix88)
Problem with Displaying IDs
 
Ok so I got most of my code working except for display aka ListNodes. I currently have: void ListNodes(A *list) { while(list) cout<<list->key<...
[1 reply] : It is really hard to answer questions when posters don't post a comple... (by kempofighter)
Looking for a proper out put
 
/*nested For loop that prints out a multiplication table for the integers 1 through 10. */ How do I get tabled results from my code -------------------------...
[2 replies] Last: It hasn't really helped yet. This is what I have but the results are ... (by gnwillix88)
alphablending
 
hi everyone , I was just wondering if anybody could help me with this . I wish to alphablend an image over a live video . The image must become transparent a...
[1 reply] : What library are you using? (by Duthomhas)
meaning of pointer expression
 
Suppose there is a class by name classA, and we initialize classA *This = (classA*)this; // this is the this pointer if(eval) { This->_score = (*eva...
[1 reply] : what is 'this'? Like what class is this code from? Is it from classA... (by Disch)
Errors at CreateNode & ListNodes
 
My program complies through, however I keep getting errors after I type the ID in for CreateNode and after typing L, I get nothing for ListNodes and if i type s...
[4 replies] Last: The if(l !=NULL) makes it crash after the typing of a number then a pr... (by CuddlyBear)
AtM simulator(How can i solve this?) -,thank you
 
Write the definitions of the declared function prototypes of the given code. This program should be able to simulate ATM functionalities. For simplicity sake,...
[1 reply] : 1. Don't post homework questions unless you have a specific question w... (by chrisname)
by ToniAz
Open a text file in notepad using c++
 
Hello everyone, I'm inputing data into a text file on disk using the fstream functions. But I can't seem, more like, do not know how to open the text file i....
[2 replies] Last: Open the file and wait for the user to close Notepad: system( "notep... (by Duthomhas)
a hexadecimal problem...
 
ey!! its me again, I am going to make a program that will convert from hexadecimal string, then to binary and finally to decimal. Now here's the problem (i gues...
[1 reply] : Do you insist on doing this per hand? Because the streaming facilities... (by maikel)
ATM PIN PROBLEM
 
I've finished my atm program but the problem is when the user inputs his/her pin...it should be covered with *. For example user 1 has a pin of 2001, when she e...
[no replies]
finding first word having a particular char 'w' in a sentence
 
how can i find the first word in my sentence having 'w' character. This character can be present anywhere in my word. Lets take an example of sentence "Hi xyzwy...
[6 replies] Last: @maikel thanks a lot maikel, i was trying so many things from 2 hou... (by gunjan29)
eof error?
 
this program is inputting numbers from a file "input1.txt",stores them in an array then outputs them to screen,my problem is it outputs some additional strange ...
[5 replies] Last: are you using the size variable right ? (by bluecoder)
Program crash (after destructors?)
 
Hi everybody, I wrote a program that runs perfectly until when it has to finish, and then it crash. I am using some classes, so I am guessing that the probl...
[6 replies] Last: In the code BS::BS(const BS& F) { mDiag = F.mDiag; mUpper ... (by bluecoder)
Open .bin file
 
hi can anyone help me how to open a .bin file using fopen in C++...
[2 replies] Last: Hi, when I am trying to open .bin file and print the values it is g... (by gajji2020)
by Neb
Beginner: Pointers error:Access violation...
 
/* Exercise 8: Revise the additem() member function from the linklist program so that it adds the item at the end of the list, rather than the beginning. Th...
[7 replies] Last: Thanks to you both (serge and bluecoder) you buoth helped me understan... (by Neb)
Defining Class Method Convention
 
Where is this usually placed? //file.h namespace example { class CommandConsole { public: void operator<<(const wchar_t* message) { type...
[6 replies] Last: That worked perfectly! I greatly appreciate the time you've spent h... (by mackabee)
file io error
 
for some reason it does not like my syntax for opening a file. i have to do it for two separate files and the first one works fine, however when i try and open ...
[2 replies] Last: thank you much that fixed it (by zachtastic)
Calendar Program
 
I have been working on a calendar program and i cant get it to output propely any help would be really appreciated. i have been trying it for hours. this is ...
[1 reply] : It can be achieved using the modulo-operator. Do you know modulo from ... (by maikel)
March 2010 Pages: 1... 1213141516... 23
  Archived months: [feb2010] [apr2010]

This is an archived page. To post a new message, go to the current page.