Beginners - April 2008 (Page 6)

by yogurt
Explanation of this code
 
Ok. I am teaching myself C++ mostly by looking at tuts online and such. I tried to make a simple command line calculator(success) and am finshing a unit convert...
[1 reply] : Not enough room :) // Roll once: void Roll (int& iDice1, int& i... (by yogurt)
Static for C++
 
Write a C++ program that allows user to perform addition or subtraction continuously until the user decides to exit the program. Keep a counter in each of them ...
[1 reply] : I'm a c++ beginner,I hope it's helpful for you ;-) #include <ios... (by viki)
PLEASE HELP!! password
 
Hey everyone...I am very knew to C++ and I barley know anything. I have to make a lab due tomorrow where I have to develop a program to verify the complexity o...
[1 reply] : You could start here: http://www.cplusplus.com/reference/clibrary/cct... (by closed account z05DSL3A)
recursion functions
 
this program wont run /// user inputs a arrya of numbers and a number to look for // and the computer outputs the amount of times the number shows up ...
[2 replies] Last: thanks but there is still a problem when i run the program the nu... (by gregv21)
by yogurt
neeed help with weird calculator program problem
 
ok this calculator is almost done. Just when i added sum stuff wat happened was i couldnt do division anymore. the calculator is not supposed to do infintes but...
[6 replies] Last: It's a good idea to turn warnings on in the compiler. Had you done so... (by jsmith)
program with structure!
 
I need to write a program that will serve as a program for the library. The structure will be called library, and it will include 4 variables - book name, catal...
[4 replies] Last: Note that you only need to code for input of 1 book and put it in a fu... (by Faldrax)
by bomben
Singleton and constructors with arguments
 
Hi all, this is my first post and I hope this is going to be an easy one. I inherited well written but zero-commented code. And I was trying to under...
[5 replies] Last: Thank you all guys! Now it is much more clear. BTW, I discovered anot... (by bomben)
by yogurt
need help with general c++ stuff
 
ok, i just started like a couple days ago to program. i am teaching myself so far from this site and i need someones help with 2 things. 1. Where can i learn...
[5 replies] Last: Hello, Here are some great links: http://www.research.att.com/~bs/ho... (by sparky)
by iggi
Variable Field Swap declared void??
 
Can anyone tell me what I am doing wrong here, this was simply meant to show the bubble sorting method, however it fails to compile with a Variable Field Swap D...
[6 replies] Last: in your function,you just swap two pointers. At the begining number1 p... (by yang)
please help me
 
hi plz i want the answers of exercises in robert lafore's book(object oriented programming in c++)fouth edition
[2 replies] Last: um...from my point of view it seems that you want us to do all of your... (by yogurt)
by botman
system(Execute system command)
 
Hello! Please tell me how many is "Execute system command" in 'system' and enumerate him, please!
[1 reply] : Can you be more descriptive please? Do you have any code with comments... (by rpgfan3233)
PLS HELP! burned out with strings
 
For this assignment, you will write a C++ program to play the game Mastermind. #include <iostream> #include <ctime> #include <cstdlib> #include <string> u...
[1 reply] : Is there a question in there somewhere? (by gzero)
by Kvakac
resizing console window
 
Hello Is it possible to resize the console application window specifically for one program, or even for a part of the program. I have a that reads some values ...
[3 replies] Last: Try, http://staffwww.fullcoll.edu/sedwards/ConLib/ConLibIntro.htm if ... (by cppjsan)
by mlussi
invalid types ‘int[int]’ for array subscript
 
Greetings I'm getting a weird compilation fault and don't know why. Here are the functions: int gettactic (int t, int team, int side, int game){ [......
[4 replies] Last: oh I'm so stupid. I've overridden the player array, defined with the s... (by mlussi)
How do I number files?
 
Hello community, I'd like to know how I can number files, created by a programm. I imagined it like this: Every time the programm creates a file it counts how...
[1 reply] : I can help with the counting part, you need to use a for loop and poss... (by kenner)
by kenner
creating a program to execute another
 
I'm attempting to make a program that will replace file information before running another, to prevent others from modifying them before use. How it will wor...
[no replies]
by bashi
i want to create an array of structures
 
i want to create an array of structures here i have my coding too if any one can post a good array of structure coding with an explanation thankx alot #i...
[1 reply] : This reply is based on my limited understanding, and might be flawed. ... (by Free Magic)
newbie: find largest number
 
Hello, im new in c++. im learning by myself online and from a textbook, using dev-c++ as my compiler. right now im trying to do exercises from a textbook (C...
[10 replies] Last: thanks a lot! :D you all are right, i tried your advices, they all sol... (by KhuntienNang)
by bashi
how to create a linked list
 
i want to create a linked list & i searched all this site but i didn't et a good example so any one please post an example for a linked list for me with comment...
[1 reply] : http://richardbowles.tripod.com/cpp/linklist/linklist.htm is a good... (by rpgfan3233)
Integer and Loop Help
 
Im a new programming student and this question has got me dumbfouded: "Write a program which will calculate, for every integer that is being input, a code in...
[7 replies] Last: You can save yourself a bit of work: cout << "please input the numbe... (by rpgfan3233)
April 2008 Pages: 1... 45678... 18
  Archived months: [mar2008] [may2008]

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