Beginners - April 2011 (Page 3)

Functions and classes
 
Very confused on how to do this assignment. My program is to create a currency exchange (pesos to do...
[2 replies] Last: Thanks for the help. I have been reading, just having a hard time und... (by sselasky1)
how to loop exceptions
 
in main.... cout<<"enter an int" cin>>a try checking(A); catch (char *eString) { ...
[1 reply] : This isn't the best way to validate input. I would say try...catch i... (by Zeillinger)
Problems with pointers.
 
I was given a function and told to make it reverse the characters in a character array without using...
[1 reply] : On line 4, you move a to point to one byte before the start of thr str... (by LB)
typedef Vector
 
Quick question: I have the following line in a (pure) *C* code: typedef DTYPE* Vector; As f...
[1 reply] : It's a typedef. That line is defining the name Vector to be an alias t... (by filipe)
Initializing const fields in virtual parent class from constructor in the inherited classes
 
Hi, I have pure virtual parent class, and from that a few inherited classes. For example cl...
[4 replies] Last: Awesome that worked!! Thanks hamsterman, for that solution. For some r... (by maheshravishankar)
by qwesr
Need help with a random number game
 
Hey, im relatively new in c++ and im trying to code a Random number guessing game. Heres the code...
[7 replies] Last: No problem. Good luck and have fun! :D (by GodPyro)
Help with initialization
 
I'm trying to create a program that looks through a sentence and counts out the number of individual...
[2 replies] Last: Thanks for the quick reply, I really appreciate it. (by Aperture Panda)
by pooshi
sprintf Question
 
I am new with this sprintf function and need some help if possible. //LAST_FILLER_NUMBER, FIRST_FI...
[3 replies] Last: Thanks for your reply. I will see what I can do. (by pooshi)
FillConsoleOutputCharacter Unicode characters
 
I'm trying to use the FillConsoleOutputCharacter statement in my Visual Studio 2010 ultimate studio...
[4 replies] Last: oh you smart cookie :D Thanks, I got it working now, and yeah you wer... (by DoTTGaMMa)
check this out please
 
Hi fellow forumers, I seem to be stuck on a vector assignment that I can't quite solve using the do...
[5 replies] Last: You need to change the * to an & on lines 11 and 28, not just 28 by ... (by LB)
How to append a character starting from the end of a file
 
Does anyone know if its possible to open a file for appending but then I need to be able to replace ...
[4 replies] Last: Thanks for all the suggestions I will take a look at the available opt... (by victor43)
translating into c++ langagues.
 
i want to write a function called "greedy" function. Given M = { 0,1,3,2,9; 1,0,1,2,4; 3,1,0,1...
[17 replies] Last: You're welcome :) (by GodPyro)
by qwesr
Need help with a random number game
 
Hey, im relatively new in c++ and im trying to code a Random number guessing game. Heres the code...
[1 reply] : I think you forgot the curly braces after your while around all those ... (by Albatross)
(Each undeclared identifier is reported only once for each function it appears in.)
 
hey everyone, i have a problem compiling this program and i cant see what the problem is. basically ...
[3 replies] Last: thanks im using arrays now but have a problem adding elements to it, l... (by Makarintosh)
plz help me and fast
 
plz give me solution today the question is You are required to write a program which takes two 3x...
[2 replies] Last: For 3x3 matrix use const int maxRows = 3; const int maxCols = 3; ... (by salmanhassankhan1)
Cannot check menu items checked isn't correctly
 
Hi guys, I need your help, as I have a bit of troubleshoot with the source code. When I clicked on ...
[5 replies] Last: Because that's I want to check the menu items from form2 event I am no... (by mark103)
Converting and reading data from winsock2 recv buffer
 
Hey All, First post, and yes I searched but couldn't find anything that gives some specifics. ...
[2 replies] Last: Perfect ..... thanks so much, that was a lot easier than I thought it ... (by tsheppard)
by Acr
vector difference non-unique
 
Good day, My problem is as follows: v1 = 3 3 4 5 10 11 12 16 18 18 v2 = 3 4 5 6 7 8 9 I want...
[1 reply] : The two vectors are sorted from low to high; if you can rely on this,... (by Moschops)
How to delete cells value?
 
Hello, I want to ask, how can I delete a cell value from Datagridview in Windows Forms Application?...
[1 reply] : Might want to ask in a visual basic forum (by LBEaston)
Quicksort Code?
 
This code doesnt make any sense. Especially the check on v <v . Shouldnt that be the other way aroun...
[no replies]
April 2011 Pages: 12345... 55
  Archived months: [mar2011] [may2011]

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