Beginners - December 2008 (Page 10)

New to C++ but not programming
 
Hi Guys I'm in a real pickle and was hoping one of you could help out; I've been programming for many years in various BASIC languages but stopped a number o...
[6 replies] Last: thanks Bazzy, you're a great help, I've just checked out the daniweb e... (by notthenewsreader)
Looking for some guidelines to traverse a binary tree and delete the nodes
 
Hello my name is Edward and I am currently working my final project for Data Structures. I have incorporated linked lists, stacks, queues and binary trees all i...
[7 replies] Last: Thanks Corpus for all your help, your advice really helped. As for usi... (by Edward1966)
Return to start of program
 
Hi all im having abit of trouble getting one of my if statements to return back to the start of the program, i have tried several different ways and haven't ...
[8 replies] Last: If you use the construction of CheesyBeefy, you don't have to use the ... (by Scipio)
Operator Overloading
 
I have a designed a class Matrix and i want to overload the + and * operators to add and multiply 2 matrices. My code is as follows: #include <iostream...
[3 replies] Last: Just a couple of other things... operator+() should take its parame... (by jsmith)
Undefined sysmbol 'cout', unable to open iostream.h
 
I download dev-c++ and write simple programe. but after compiling that prog i'm facinf problems with errors with iostrea.h and undefined sysmbol cout, cin. ...
[10 replies] Last: Well because you used return(0) , the program will terminate when it ... (by bluezor)
Cannot add two pointers?
 
Hello again, In my text-based RPG, I am currently developing the (simple) combat system. However, I have run into some trouble along the way. In this section...
[1 reply] : You can either do it this way: actionMSG = string("Normal Attack! ... (by firedraco)
Mini Password Generator Problem
 
Hello. I have created a mini password generator (that only creates passwords 6 - 12 characters long :P) and I need a bit of help on it. Firstly, when I gener...
[4 replies] Last: It worked now! P.S. Thanks for your alternative method ( while (x <... (by bluezor)
temporaries and copy constructor.
 
Hi all , suppose that function that takes object A , like this , and another function that creates and return a temporary object or A. A CreateA ( ) ...
[5 replies] Last: Try here: http://www.efnetcpp.org/wiki/Return_value_optimization ... (by jsmith)
if statement inside while loop...
 
I am having trouble with this assignment: http://preview.tinyurl.com/6jvcsf I've tried tweaking it to the best of my knowledge and it still keeps printing...
[4 replies] Last: No problem :D (by hannad)
by hannad
Fun Programs :D
 
Hello Beginners Like me. I thought that I could give you some programs to do that I used to have a problem with them, because I didn't have the idea on what is...
[6 replies] Last: @Corpus An added challenge: Solve 2 and 3A by recursion! That... (by hannad)
Clearing the main
 
Hi all Im currently working on a c++ maze game. At the minute my main is full of code that does not need to be there. I want to move the code from the main to...
[3 replies] Last: thanks for your help i will give that a go (by TheAce1)
confused with algorithms.
 
Hi, I'm lost, I have a computer program that states, Using this algorithm (theres one listed inthe book) write a C++ function that accepts the user-entered valu...
[3 replies] Last: Ah, you need to round it to two decimals. You will have to do this ... (by Scipio)
Array Vs. Vector
 
First, I apologize if this has been covered and if I am beating a dead horse. Second, I would like to thank you all in advance for any help you can provide in ...
[8 replies] Last: Thank you all for your input. I think I have a better grasp now. (by Fredbenz)
by Taz
Roman digits
 
How can i transform a number made from arabian digits into a number made from roman digits? Example: 56 becomes LVI
[3 replies] Last: Roman numerals are base 10, luckily, so it's not too hard to convert b... (by helios)
by zoldri
Text Editor console app
 
hi i am trying to make a text editor to run in a console window, i have a bit of it working (open files,create and write to new files) but i dont know how to ...
[5 replies] Last: i will use curses thanks for help. also i just prefare CUI to GUI :) (by zoldri)
by rain
colors in console for beginners
 
How to write c++ console application that prints colored text onscreen? I want make "Hello World" where hello is in red color and world is in blue color. A...
[10 replies] Last: Ok. Thnx :D (by hannad)
Printing in hex
 
Hi! I'm composing the header for a wav file, and I need to insert the filesize. I have used fseek (input_pointer , 0 , SEEK_END); // long source_size = f...
[6 replies] Last: You need invert the endianness of the integer. For example, suppose y... (by helios)
Calculating the number of sec's elapsed between two time intervals?
 
How can i calculate the number of seconds elapsed between two times intervals...
[10 replies] Last: If you're stuck just ask Simon for help. Oh no, secrets out! (by Renzokuken)
by cpp115
To start with cpp
 
Hello to all I am a completely beginner and want to program with ms visual studio. How can I compile my codes with it?
[4 replies] Last: I send a big thankyou for All of you! The Visual Studio I mentioned a... (by cpp115)
by hannad
Microsoft Visual Studio C++ 6.0
 
Hello, I'm using this version of C++. Recently I discovered that what I'm doing is not visual C++ . Why have they named it Visual Studio if it is using command...
[14 replies] Last: Hi guys. I have been busy yesterday after my last post, so I didn't ge... (by hannad)
December 2008 Pages: 1... 89101112... 17
  Archived months: [nov2008] [jan2009]

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