Beginners - July 2008 (Page 13)

Error in program
 
Dear sir , I want to make a program to calculate sum=1^3-2^3+3^3-4^3........+n^3 I have written the following code #include<iostream> #include<conio> in...
[6 replies] Last: I tried #include<math> and I got a correct output. Thanks for your h... (by matanuragi)
Linked List\Template problem
 
Hello All: I need some help with a school project. I have code that I used a long time ago and worked at one point, but does not seem to work now. Since the...
[6 replies] Last: I have been researching the above suggestion, and I'm still not able t... (by Tori8999)
by Lauke
passage from Java to C++
 
Hi guys i started the C++ programming some day ago, I started my programming path with java, (i needed to learn it cause my university required it) but now i wo...
[6 replies] Last: I see...let's try in another way, the best way to learn a programming ... (by Lauke)
No capitals...
 
I'm running the following code: #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; int main() { ifst...
[3 replies] Last: I wouldn't quite put it like that - I would say that it treats it li... (by guestgulkan)
Program runs then terminates before the result can be seen
 
I wrote a program to divide a string phrase into separate words by using the spaces in the string. // broken_up #include <iostream> #include <vector> #in...
[10 replies] Last: Wow, you're suggestion worked perfectly! Thanks! Yeah, I guess I pr... (by Lief Webster)
understanding call by reference functions
 
I'm in a beginning level C++ course and I don't fully understand how call by reference parameter work. More to the point, how would they pass values to another...
[1 reply] : Welcome. heres a good start: http://www.cplusplus.com/doc/tutorial/ ... (by Jeff HS)
3 errors (learning function stuff now)
 
hi everyone my script calculates what day of the week it is on a specific day (it's dutch, i'll translate it if i have to) here he is: #include <iostream...
[7 replies] Last: The standard C++ library has its elements defined in the Namespace ... (by closed account z05DSL3A)
Calculator Program Trouble
 
Ok, in my C++ Console Project, I am prompting the user to make a choice of multiplication, addition, subtraction, or division, and then enter two numbers to per...
[4 replies] Last: Thank you everyone! That fixed it. And I'll try out that switch statem... (by CheesyBeefy)
by sleepy
Strange c++ piece of code
 
Hey! I'm new to c++ and found the following construct: int c = ((void)b, a); Compiles and sets c = a. But what does it do !?!
[2 replies] Last: Nope, it just compiles by pasting to main() *g* (by sleepy)
by JMGIC
address assignation to pointers
 
I want to share some data (int var) between two application app0 and app1. The app0 calls app1 thrugh a CreateProcess, being one of the parameters a string c...
[1 reply] : To share 'live' data between applications you need to use a form of In... (by closed account z05DSL3A)
Compiler for ubuntu
 
Hello. I have just got Unbuntu Installed on my computer and i want to get a compiler on it as well. It seems o much harder to install a compiler on it thoe. I...
[1 reply] : I've answered this question in the UNIX forum. Please don't post the ... (by bnbertha)
what is the use of header file apart from preventing recompilation
 
hi Is there any use of header file apart from prevention recompilation and hiding the implementation in case of a library.
[1 reply] : There certainly is. If your application is spread across multiple sour... (by bnbertha)
Compiler
 
i need a compiler....tryed with c++ builder not working and Dev C++ gives weird error :( i use borland c++ can anyone help me??
[4 replies] Last: @metalmop: What a crap piece of advice. Also, what is this really "nea... (by Zaita)
String Error
 
Well, in my code, a jumble of letters will appear and if the user doesn't type them in correctly, they lose. However whenever I try to check if the user inputed...
[2 replies] Last: Ahh, thanks. :) Also, how would I add a timer, such as, if they don... (by CheesyBeefy)
Access Violation?
 
I've been looking through the forum at these and none of them really seem to be the same thing, they look almost random. What causes them? Is there a tutori...
[1 reply] : Access Violation. You have violated your access =\ 95% of the time ... (by Zaita)
What version of C++ do you use?
 
I'm just wondering what version of C++ do you use? Right now i only have Microsoft Visual C++ 2008 Express Edition but i don't really get how to use it? Does an...
[6 replies] Last: I use Dev-C++, Eclipse + CDT (on Windows and Linux), And Visual Studio... (by Zaita)
Stacks and Heaps - What are they?
 
Hi guys, I am currently learning C++ and I cant find any decent resources on Stacks and Heaps . I have seen these terms thrown around alot and really want to k...
[2 replies] Last: Thank you, Looked on wiki but didnt find that lol, just some complex a... (by CamelCase)
by Nandor
file output/character sequences
 
void use(char buffer ) { int last=getlastinstring(buffer); int aux1; char name ; for(aux1=0;aux1<last;aux1++) { name =buffer[aux1+4]; } char ...
[no replies]
by Alck
Text with colors
 
Hi all, just to enquire something abt c++. usually we program and the output of the text is white color. is there any ways to program it with colorful fonts?...
[2 replies] Last: what compiler are you using? some compilers have the command: sy... (by brentc628)
Easy graphics in C - IF your willing to use a little Basic
 
Check out the FreeBasic compiler at http://www.freebasic.net. It gives you capability to use C code along with the graphics functions used in Basic. EX: ...
[no replies]
July 2008 Pages: 1... 1112131415
  Archived months: [jun2008] [aug2008]

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