Beginners - October 2010 (Page 9)

Delete duplicate elements from array
 
Ok, this is driving me mad. The project (from Walt Savitch - Absolute C++) is: "Write a function called deleteRepeats that has a partially filled array of ...
[1 reply] : Write it in pseudo code first, then translate to C++. Your problem is... (by jsmith)
Guidance on finishing a very old project
 
Long story short, I was coding a Elapsed Time Calculator and never got around to finishing it due to school. I also have been not programming too much i...
[3 replies] Last: I don't understand where to go from here. It just work... (by Irish Enigma)
best books for newbie
 
What are there best books out there at the moment
[4 replies] Last: Free online tutorial from this website: http://www.cplusplus.com/doc/t... (by OHGxLeetGamerxOHG)
by rej3kt
adding inheritance
 
I've created a "customer" class and a "staff" class. On the main menu, you choose weather you'd like to add information to the "customer" or "staff" class. ...
[3 replies] Last: well, class human_being{/*nothing here*/}; class customer : public hu... (by hamsterman)
by miha2
Do I need the "while" in a "while" or something different?
 
Hello. Here's my code: #include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace std; int main () { int age...
[6 replies] Last: that depends on what you want. if you want input from the user for eac... (by coder777)
by sowa
minimizing of console
 
hi, I wrote a small C++-console program, which runs in the background and controls a Visual C#-application. It works fine, but the big black console disturbs...
[5 replies] Last: The solution proposed by Thumper proved really perfect in my case, tha... (by sowa)
Which certification is best for a beginner in IT specially in programming?
 
Which certification is best for a beginner in IT specially in programming?
[9 replies] Last: I feel certificatin along with experience is very useful for agreat c... (by moishin)
by dznguy
random_shuffle error
 
so im trying to understand how random_shuffle works and was testing it out. when i copy an example from the book that show how it work, and try to compile it, t...
[1 reply] : Try char s ="ABCDEFGHIJ"; instead of char *s="ABCDEFGHIJ"; Your p... (by Null)
sets and function
 
First off this is a homework assignment, just to let everyone know but I am stuck and need help and my teacher isn't answering my emails. So here we go, I am ha...
[1 reply] : The way you pass your variables into switchStatementCount just copies ... (by hamsterman)
linux redirection program
 
The Green Tree Service Company offers the following services to its customers: * tree planting - $35 for a small tree, $100 for a medium tree, $250 for a lar...
[1 reply] : See: http://www.cplusplus.com/forum/general/30506/ Don't post the s... (by Zhuge)
question about a string set
 
Is it possible to pass a string set into a function or return a string set from a function, like. void (set<string> stringSet, int m); is that how it wo...
[2 replies] Last: Thanks a lot (by br0k3nfr4m3s)
by ZondaR
Recognize integers in string
 
Is there a command that can recognize whether a character in the string is a integer? I have to write a function that does the following: This function retur...
[4 replies] Last: Thanks, totally forgot that was an option since I only have to test fo... (by ZondaR)
by juvan
Classes in separate files
 
Hi, I'm having issues trying to put my class neatly into a file. Let me just show you my concrete problem. I have a class caled Runes defined like this fi...
[2 replies] Last: Each .cpp is separate, you can't have included string in your main.cpp... (by firedraco)
Trouble with Bool Function return
 
I'm currently coding a time clocking program for my university intro CS class that is supposed to check input times and calculate pay, length of time, overtime ...
[2 replies] Last: Thank you so much. You are a live saver. (by pbmichel)
get object from vector iterator
 
i have a class called block with 2 floats x and y. i am iterating through a vector called 'block_array' how do I get the x value of each object in the v...
[4 replies] Last: thanks that worked (by slenkar)
Another Simple Class
 
okay so i know how to do a class program with just a header file and main. However when it comes to making using an external constructor file, i am stumped. th...
[5 replies] Last: Ah... upgrade to wxDev-C++ or Code::Blocks, and then we might be able ... (by Albatross)
Incorporating a Password Attempt Limit
 
Hi folks, i'm new to C++ (as my code will prove obvious) Let me start out by saying i've searched both google and these forums to no avail... I'm fresh ou...
[2 replies] Last: thanks for the quick reply -- this is exactly what i was looking for! (by nightrun)
by Slims
Bug in Palindrome Program
 
I've been doing some programming for fun outside of class and a popular practice program to write is to make a palindrome checking program. I'm very close, I...
[1 reply] : Solved the problem, but if someone still wants to explain why I need t... (by Slims)
Memcpyp
 
Does anyone know the correct header file for the Memcpyp(); function in C? <String.h> doesn't do it and i tried a suggested one <lcstring.h>, but my compiler do...
[3 replies] Last: Well... see these documents. :) http://support.sas.com/documentation/... (by Albatross)
generating random numbers
 
the following code in my mind should generate a random number without selecting the same one before: void genRandNums(int &rRow,int &rCol) { static ma...
[2 replies] Last: In your case it's a bool which is always false. Fixed. The probl... (by Athar)
October 2010 Pages: 1... 7891011... 42
  Archived months: [sep2010] [nov2010]

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