General C++ Programming - July 2008 (Page 2)

by zyspt
How to get the same result using pointers notation
 
Hi ppl i'm new to this C++ programming and learning more. recently i constructed a programs to coun...
[1 reply] : Hi !!! :) defining any array is somehow the same as defining a poin... (by arsen)
the [] operator
 
how would i make it so that i could use a function such as class class1; class1 ; the 5 as pa...
[2 replies] Last: hehehe i thought you were trying to make array of classes ooooh that ... (by Evote)
by reuven
Witch environmrnt is the best, for C++ programming?
 
Hi all, This is my first message here. I use Visual C++ 6.0 and just want to ask you witch environ...
[8 replies] Last: Lol use Code::Blocks with MingW It's great !!! has form maker in it o... (by Evote)
Suggestions for Timers on Output
 
Im looking for some code suggestions for a C or C++ code im working on. Im trying to get the output...
[2 replies] Last: use the #include <windows.h> Sleep(1000) Which is 1000ms Which... (by Evote)
wxWidgets and MinGW
 
I have compiled wxWidgets with MinGW (g++) in Windows XP. (I am now able to compile all samples with...
[5 replies] Last: @esberitoxn : Have a look at this guy's reply. http://forums.codebloc... (by petsagouris)
by oktet
Undeclared Identifier: Three Questions
 
//********************************************************************** LOVELY ERROR MESSAGE: ...
[7 replies] Last: WoW, ummm, I will see you guys in like X months after reading and stud... (by oktet)
Problems with FindFirst() with fstream??
 
Can anybody help??? What i want to do is find a file with a .txt extension and read it with ifstrea...
[1 reply] : Since nobody answered your post, two hints: (a) You can indicate that... (by exception)
how can i cancel the repet in this program
 
How can i cancel the repeat in this program?? This Program is talking about Pythagoras Low How c...
[3 replies] Last: Thank you all for your help the correct is to be the program like thi... (by ramishama)
by reuven
A linked list print problem
 
Hi, I implemented a linked list saves person data but when i print the list, it prints only the las...
[1 reply] : hi, look at these two examples, I think it will help u. http://ans... (by yanhe0116)
by katz
Signal Reading from transducer and reading/sending to valves
 
I am wondering if anyone can give me an example or explain to me how to read a signal from a transdu...
[2 replies] Last: I'm sorry about that.. The transducer is a Differential Pressure T... (by katz)
Default constructors - I don't want em!
 
So, what do I do if I want an object to not have an available default constructor? Many of the objec...
[3 replies] Last: When you provide your own constructor the default constructor is no lo... (by exception)
Stack unwinding in native code
 
How can I use try - catch - throw exceptions in native code? I need ___CxxFrameHandler3 function or ...
[1 reply] : You're talking about assembly, right? Do you mean "structured excep... (by Duthomhas)
errors when I make program concise!
 
hello guys! I has defined a class implement arbitrary precision arithmetic, to calculate the fact...
[2 replies] Last: :) thanks helios! I know what you said about off-by-one error! ... (by toptony)
[solved][STL] is there an inserter (insert iterator) for map?
 
Suppose I have a template function which takes an OutputIterator of pair<X,Y>s which should now be u...
[4 replies] Last: Thanks, I somehow managed to overlook the plain inserter, how stupid. ... (by exception)
by Nandor
fast search
 
Does anyone know a very fast searching function?I have to find some characters in long strings(10+ s...
[4 replies] Last: I would guess that you have confused some find()-functions here. The s... (by exception)
How can I show the elephant's path in the chess by c++
 
Hello How can I show the elephant's path in the chess by c++, but the user enters the coordinates o...
[17 replies] Last: Not to obstreperously resurrect old threads, but I learned why those e... (by Duthomhas)
can anyone doublecheck
 
Hi all can anyone help me if I did this program right. I am a newbie at this. An ISP has 3 diff...
[1 reply] : Looks good. On lines 35 and 40 you should have total = A + (hours... (by Duthomhas)
by codacx
get line of code from text file
 
Hi, im writing a program in c++ where their prompted to enter in a file name and i will display the...
[3 replies] Last: If you know that you can read exactly one line at a time... then how w... (by Duthomhas)
by snerh
Segmentation fault error message
 
i compile this code but it's crushed with segmentation fault error message. i think there are probl...
[3 replies] Last: Also, you might want to consider using better names. I read that as ... (by helios)
Converting a class
 
Hello, I need to know how one would convert a Base Class to a class derived from it. bool conver...
[4 replies] Last: Your first version was correct. No need to use cast operators, the cas... (by arsen)
July 2008 Pages: 1234... 10
  Archived months: [jun2008] [aug2008]

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