Beginners - May 2011 (Page 19)

by ty98
code to sound (1,2)
 
...
[21 replies] Last: @framework: You're right, i was working as if the program was receivin... (by Thumper)
Accessing a Pointer to Pointers's value
 
How do you access a pointer to pointer's value? int * p; int **pp; pp = p;//pointing to our pointer int a; *pp = &a; //Dilemma here //how do...
[2 replies] Last: int a, *b, **c; a = 5; b = &a; c = &b; //&&a cout << a << end... (by Mathhead200)
by nand
Understanding classes: broken code
 
Hello, I'm trying to make a program inspired from the chess game to develop a working understanding of classes interaction, inheritance, etc.. The...
[5 replies] Last: Corect compilation and execution is: $g++ -c *.cpp $g++ -o a.out ... (by Disch)
Good quality Object orientated programming?
 
Where can I find examples of good object orientated programming? and in general how to go about designing programmers?
[4 replies] Last: one bottom up approach is unit-testing (I use googletest): http://cod... (by kfmfe04)
by Cucus
Incomplete type
 
Hi, I have this error in the compiler: "field 'logo' has incomplete type 'logo' is a object "Joint" and it has been declared on joint.h: #ifndef JOINT...
[1 reply] : Q: ask yourself, how big is a Joint object if you have Line 21 in ther... (by kfmfe04)
by tayf
can you help me guys pls!!!
 
Write a program to determine the value Y given the argument X of a function presented by linked segments, i.e. by a sequence of N points (X(1),Y(1)), (X(2),Y(2)...
[1 reply] : http://cboard.cprogramming.com/cplusplus-programming/136974-hi-guys-my... (by methodos)
Min and max values?
 
Hello guys, I have a little problem with assigning the min and max values.The following code, should input several points and after that should find the min and...
[8 replies] Last: Mmm nah, it still generates wrong outputs..I dont need min and max to ... (by RachelAnderson)
CLI webbrowser disable image loading?
 
How to disable loading images in webbrowser? CLI Windows form application.
[3 replies] Last: Thanks. (by newone455)
by teppel
map question
 
Hi all, i got a question map<string, Student>student_list; if i use student_list.find("321456"); i only get back a iteration and proof that the record ...
[1 reply] : Find returns an iterator. You get the key out with iterator.first, an... (by kooth)
make it keep executing until user enters correct answer
 
// *******add do or while loop in it , because u dont want the user to excute again to make the user guess correctly. #include <iostream> #include <cst...
[7 replies] Last: Ah; rookie error on my part - when I used getline I had the arguments ... (by NoteToSelf)
by tagir
acode
 
use awhile loop so that the user can per form 1+2^x+3^x+....+n^x.
[2 replies] Last: first take in the values of x and n from the user. Then set up a for ... (by Kizlbot)
by Skagen
I need a mentor, Creating 2d game
 
I am pretty new to c++ but I have been programming for about a year so I know the theory (mostly). I have been developing a game in ruby for a while so I have a...
[3 replies] Last: Nope, my name is not Alex :) Well my plan is to first build an RPG En... (by Skagen)
error: was not declared in this scope
 
Hey all! I am getting the following errors for this code: C:\Users\main.cpp|19|error: expected ‘,’ or ‘...’ before ‘&’ ...
[4 replies] Last: Hi CpluPlusBeginner, yes its a mess indeed! If you haven't rewritten ... (by dangrr888)
by IvanLi
question on char*
 
experts, how can i copy part of char* to a new variable, cus i need to use that part to make a contrast char *strings contains abcdefghijkl char *temp...
[2 replies] Last: In that code you haven't allocated memory for the variable temp . You... (by anonymous23323124)
find the marks and percentile of a group of students
 
Write a program to find the marks and percentile of a group of students, Rules: a. Functions must be used b. Marks should be taken as array of integers c. C...
[1 reply] : What do you have already? We're not writing the whole code for you. (by Moschops)
Reading/writing from a .txt file
 
Hi, I am a beginner in C++. I use Dev C++. I wrote the following code: Parameter_Manager a(80); FILE *input; char nameinput ="input_MIMO_LOS_baseli...
[no replies]
Programming project hints on wrapping integer
 
Hello all. I am new to the forum. I joined specifically to ask this question, as I stumbled upon here while searching for answers. I am working on a project ...
[11 replies] Last: My code has been reposted as the projects were submitted yesterday. Th... (by soldieringon)
Is it possible to mimic dynamic polimorphism by template?
 
something like class base { public : virtual void draw() const = 0; virtual void area() const = 0; }; class rectangle : public base { public : ...
[7 replies] Last: Thanks a lot, I think I would just use dynamic polymorphism rather tha... (by stereoMatching)
address of attribute of struct
 
Hello everyone! I need to solve next question. I have a struct such: typedef struct { char one; char two; } How can i get the address of...
[5 replies] Last: but i'm using C language In that case, a function external to MyStr... (by closed account zb0S216C)
Help with code problems PLEASE
 
Please play this tic tack toe game i has this wierd repeating glitch in the 1 player mode and dosent save the player names in the output file.Can someone tell m...
[no replies]
May 2011 Pages: 1... 1718192021... 48
  Archived months: [apr2011] [jun2011]

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