Beginners - July 2011 (Page 7)

10 classes inside a class, bad programing practices ?!
 
hay guys What do you think of this code? Is it a good programing practice or bad? Should I program like this or will it make people confused? thankx ...
[3 replies] Last: http://review-cyprus.com/ (by dianaveful)
Where should I start learning
 
Hi all, I would like to start learning c++ programing, but I do not know where to start. I wish to start helping with a project I am very interested in, and was...
[6 replies] Last: There is a ton of information online. I took an intro class to c++ bu... (by jeffsg605)
Help ! MAIN () function parameters of the problem
 
Hello, I'm Shen Yang Yang, 21 years old, from China, which I am pleased to join you, I like to make friends, I hope you first introduce yourself! My question ...
[4 replies] Last: There was a mistake in my initial post. I corrected it now. The mistak... (by shacktar)
learning multiple languages
 
I've (very) recently started programming in c++ and I was wondering if taking up java or python before I've gotten a strong grip on c++ would help or hinder my ...
[5 replies] Last: Ok case closed then lol. Thanks everyone. (by dragon16)
by Skizzy
two demensional arrays
 
Hi again, Im working on a program to learn two dimensional arrays. The program needs to take a set of predefined numbers in the array and multiply them by a ...
[1 reply] : If you want to multiply an 2D array by a value, you have to iterate th... (by closed account N85iE3v7)
how can i resolve this fatal error C1083: Cannot open include file: 'interface.h': No such file or directory
 
my is interface.h using namespace std; struct DataType { int key; string name; }; struct Node { DataType dataIn; // the actual data goes in h...
[1 reply] : please use the tags.... do you have the interface.h in the same direc... (by julof26)
How can i correct the following code, i get the errors down below
 
interface.h using namespace std; struct DataType { int key; string name; }; struct Node { DataType data; // the actual data goes in here Node...
[3 replies] Last: The listed functions are either misstyped (like freeLL M emory) or hav... (by coder777)
rock, paper, scissors game
 
Hi I made rps game and I want to know if there is a way how to improve this code. I think in who_win function is too many ifs and i dont know how it makes bette...
[9 replies] Last: Sloppy9 can you explain me this part ? : int user =... (by krnacandrej)
Game shuts down problem
 
Hi I got a wierd problem- when I am running my program it just shuts down instantly and I have no idea why. Heres all code: ( replaced some parts with [.....
[3 replies] Last: okey I figuered as much but I have the files in the place the should b... (by sandmaster)
URGENT: Encryption/Decryption Program
 
I am making a C++ program for my college class due at the end of the week. The program is supposed to encrypt, decrypt, or exit the program. So I did all I coul...
[10 replies] Last: Thanks coder777. But I don't understand your 3rd correction. Please c... (by coder777)
How to convert to 'System::String ^'?
 
I could really do with some help converting to System::String ^. I will be reading arguments into my program which are of type 'char*' using: int main(int...
[no replies]
by Kart
Console close midway code
 
Probably a tiny issue which may be slightly different from the thread 'Console Closing down'... My console runs okay, the only thing is, it runs up until cin >...
[3 replies] Last: For some odd reason, it worked today, well just by hoping-:) perhaps b... (by Kart)
trouble with test program. Why wont this run?
 
#include <iostream> using namespace std; int main() { string HorribleMovie; string *ptrToString; HoribleMovie = "L.A. Confidential"; ptrToString = &Ho...
[2 replies] Last: line 7 contains a typo in the name of the identifier: HoribleMovie =... (by Alrededor)
double value to int value
 
Trying to write a program which returns the integer part of any number passed to a function. having some trouble with this program any help would be appreciate...
[4 replies] Last: Just think of (int) as a shortened static_cast<int>(). (by packetpirate)
Help with program
 
Hello, Im having trouble with this program that is a calculator that does average, range MtoTheNth power and and factorials, which are initiated by a menu that ...
[3 replies] Last: int calcFactorial( int number ) { int count, factorial = 1, nu... (by MrShenYaYa)
Need help reading .txt file data into array of structs
 
I'm working on a project where I need to read a .txt file that consists of a name(first and last, or just first) and 8 grades delimited by a comma (6 project gr...
[8 replies] Last: Haha no worries MrShenYaYa, I appreciate your help all the same! Some ... (by deeburt)
printf() problems
 
Ok I kinda feel bad for asking this, but I'm really having trouble. I have a project im working on and our teacher wants us to use printf, and I'm having some p...
[4 replies] Last: Yes, because you cannot specify the width two ways . You must pic... (by Duthomhas)
why it shows twice
 
void getfilename(string,string&); int main() { ifstream input; ofstream output; int number; int numberquestion; string inputfile,outputfile;...
[1 reply] : Because you are looping on EOF. Don't do that. You have to check whet... (by Duthomhas)
Help with linked list program?
 
My program needs to be able to read in a file that looks like this: 2345 Bradley 777-7777 M 197100 3456 Kimberly 161-6161 F 197300 4567 Melanie 121-212...
[4 replies] Last: I'm sorry not to give your help, I am from China, my English sucks, so... (by MrShenYaYa)
i dont know where to restart
 
i have been doing some c/c++ programming however due to my laziness and school, and also for my passion of gaming i have become sidetracked. i have forgotten mo...
[2 replies] Last: accelerated c++ says its good for people wanting to refresh. plus its ... (by acorn)
July 2011 Pages: 1... 56789... 54
  Archived months: [jun2011] [aug2011]

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