Beginners - December 2010 (Page 8)

i can't compile my program :( :(
 
i don't know why i can't compile my program , help me the find out plz here is the code #include <iostream> #include <stdlib.h> #include <conio.h> using ...
[6 replies] Last: @Return 0 : thnx so much , its solved (by dexterof)
by firix
Binary_tree Error !!!
 
Hi, btree.walkInorder(Disp); in main: This function returns an error thanks in advance... //header files #ifndef BINTREE_H_ #define BINTREE_H_...
[2 replies] Last: Error Bnode * Btree::Insertnode(char *p, int val) { Bnode *p... (by firix)
by firix
Netbeans C++ error
 
Hi I did the installation NetBeans and Cygwin including the welcome project, I get the same "Cannot find include file <iostream>," or any other include fil...
[2 replies] Last: Error: cygwin does not work in 64-bit...... (by firix)
Making letters appear consecutively?
 
I'm a noob who just started learning C++ 2 days ago, but I'm having difficulty making my letters appear consecutively. I'm trying to make my code shorter but al...
[11 replies] Last: We will not give complete codes, so I advise you to do the following: ... (by Kyon)
by tonnot
How to create and use a class_b, inside a class_a
 
I have a class_a and class_b classes (with their .h and .c files) I create an instance of class_a into my main,cpp. After I use it in other cpp files using 'e...
[3 replies] Last: you mean //B.h //header guard struct B{ int i; ... }; ... (by hamsterman)
Getting the upper 8bits of a value.
 
Hello, I know that HIWORD can be used to get the upper 16bits of a value. What can I use to get the upper 8bits? Can I just use HIWORD two times? Thanks !
[1 reply] : use >> and/or & operators int byte ; int val = -1; for(int i = 0; ... (by hamsterman)
Round-Robin time-slice with POSIX
 
Hi everyone! I'm trying to change the time-slice (quantum) of the Round-Robin schedule with POSIX patterns. I have already try to use this: - sched_rr...
[no replies]
passing *this pointer from inside one class to a map in another
 
Ok, hopefully this is going to me some sense to someone because I am losing lots of hair over it now. I have an 'Application' class, with one instance define...
[2 replies] Last: ne555 - thank you so much, you explained my problem and now it works. ... (by James259)
working on voices in c++
 
hello dears intruduce me a cross platform library to work on voices(prefer free)
[no replies]
How could I write "1" bit to the binary file?
 
I need to compress an image(by block truncation),but I don't know how to "write one bit" into the binary file, I have checked the function of C, the smallest...
[3 replies] Last: Thank you very much ps: rocketboy9000 (135), I haven't tryed your ... (by stereoMatching)
Is 3 dimension array possible to work with the algorithm of stl?
 
test2 is fine, but test wouldn't work Do I have any way to make it work? Thanks a lot int test2 = { {0, 1}, {2, 3} }; std::copy(test2 , test2 ...
[6 replies] Last: All of the above shows that the stl alogorithms like copy only work w... (by sohguanh)
by Omani
Hangmen
 
hello i need a hangmen game code ..
[no replies]
by nick85
new and delete[]
 
I want to free memory which I dynamically allocated with this: char * buffer = new char ; I tried deallocating it with this: delete buffer; But I get a...
[4 replies] Last: [quote=nick85]I was freeing it in my destructor and in a method so I w... (by coder777)
Structure declaration question
 
Say I have a piece of code like this: struct example { char name ; float weight; int amount; }; example object; Are all the mem...
[2 replies] Last: And this simple default behavoir wreck havoc on a lot of C/C++ program... (by sohguanh)
Logical Expressions
 
I'm trying to write a program that outputs a word based on user's input of a character (first letter of the output word). My problem is that I'm trying to valid...
[3 replies] Last: Thank you for your reply hefan2001. (by kaiser0792)
VB C++ 2008
 
Hi, Please can somebody help me with manual on vb c++ 2008, since i'm finding it a little bit confusing. Thanks alot.You can please direct such manual into my ...
[1 reply] : Open Visual C++ 2008... hit F1. (by Return 0)
bool vs BOOL
 
I was wondering what the difference is between BOOL and bool, and TRUE and true, and FALSE and false, ect. ect.
[5 replies] Last: Oh, bool = C++, BOOL = C. I got it now, thanks, this was confusing me ... (by some random dude)
Dev C++ will not let me continue compiling
 
Hey there everyone, my problem is that I have been using Dev C++ (unable to download anything else because of my pc :( ) and am unable to compile anymore. I ...
[2 replies] Last: The compiler is complaining that you forgot a bracket "{" some where, ... (by closed account 3pj6b7Xj)
by linoch
Can't find a graphical applications for Code::Blocks?
 
I tried to use Windown 32 GUI for graphic application and typed: #include "ccc_win.h" int ccc_win_main() { Point top_left(1, 3); Point top_righ...
[3 replies] Last: Yea, I'm learning from a book. But the book did not give any informati... (by linoch)
Why am I get this warning?
 
this is the warning I got from gcc4.5 warning: deprecated conversion from string constant to 'char*' below is my code //it would be ok if I change to ...
[2 replies] Last: Thank you very much (by stereoMatching)
December 2010 Pages: 1... 678910... 35
  Archived months: [nov2010] [jan2011]

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