Beginners - April 2012 (Page 32)

help
 
I have completed half of this program, and i don't know how to do the rest half, I have to submit this by tonight, could anyone please help me out with this? ...
[9 replies] Last: I got it! if anyone wants to look at my code, maybe add to it or give ... (by Hasnain Attarwala)
single parent nodes
 
I'm trying to count the number of single parent nodes in this binary tree. When I run my program it always returns 1. What am I doing wrong? int binaryTreeTy...
[2 replies] Last: Thanks for the idea. I'll see what happens. (by DocCeaser)
C#
 
can you help me? How can i program a button to change a picturebox image by clicking. picturebox1.image = ? in visual C# thanks!
[1 reply] : http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx sc... (by oonej)
Back from the start code??
 
What code can i use so that the program will return back from the start after it ran.??
[4 replies] Last: thanks sir (by chaossettler)
Help with sorting Structs within an Array
 
Thanks for the help everyone. I'm writing a program to save data from a struct to a file and then sort it. Everything seems to be going fairly well but when I t...
[2 replies] Last: Thanks. that greater than string comparison seems to have done the tri... (by cplusplusplusplus)
vector problem
 
double length_of_vector(double *a){ return(sqrt(sqrt((a *a +a *a )*sqrt(a *a +a *a ))+a *a )); } This function computes the length between 0 and poin...
[7 replies] Last: I wouldn't be so sure. Like Athar says, looks like too many sqrt func... (by MrHutch)
Arrays
 
I have a question. I have 5 values that are of different statistics. Is it possible for me to store them all into one string array of size 100? the values are ...
[13 replies] Last: I see. Thanks alot for your help! =) Now i can finish my assignment. (by CLearner88)
If/Else statements inside For Loops
 
I am attempting to write a code that output text one letter at a time with a small delay between them. I wanted to put in some code that would detect if a user ...
[6 replies] Last: #include <iostream> #include <Windows.h> int main() { char chrbuf... (by cire)
by Lebron
Guessing Game..please help...C++
 
Here is my codes,, somehow program does not work and I dont know how to add percentage part into the code..and I think there are some errors in code// #incl...
[no replies]
SQL External errors? :(
 
So I followed the tutorial on this site http://codedev.info/how-to-connect-mysql-and-c/ but in the end I got external errors just by adding something from m...
[11 replies] Last: What do you mean by other versions of the library I mean try it with... (by shacktar)
by jmrag
Strings
 
Hello i try to copy strings using strcpy but i get compilation error. typedef struct Thing{ char number ; }Thing; Thing a; char number2 ; //but this doesn'...
[2 replies] Last: oh yeah I forgot to say.. I'm writing in C so that mens #inlcude <str... (by jmrag)
C++ Assignment Help! Due tmrw
 
Hey was working on this assignment due tmrw. Need to create a search function which i have no idea on how to do this. Also was trying to make it so it could ope...
[11 replies] Last: Mea culpa! void display_search_results( const InventoryRecord list ,... (by JLBorges)
Are these valid functions?
 
void processData(string nameP, string & addrP, float & salaryP, int employP) blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah...
[7 replies] Last: Thanks (by Tunafish)
encrypt and decrypt
 
Please help me figure out how to decrpyt the message... and help me write it that the uppercase letters encrypt to lower case! #include <iostream> using na...
[no replies]
Software specification number for directxSDK??
 
Where can I find the doftware specification number for DirectX or any for any software for that matter???
[no replies]
Switching first and last words of entered string.
 
the only issue im experiencing is that the last letter of the first word disappears whenever the program processes the string. can you guys possibly help me rev...
[15 replies] Last: thank you! (by cocopuff)
No match for operator cin>>
 
Hi i am currently doing a program for my assignment at university level. I have met with the following problems. The program takes in values from a main class(m...
[4 replies] Last: Hi Peter thanks for your help. I am rather new at C++. Okay sure thank... (by CLearner88)
by nick26
2d array
 
Hi i want to create a 2d array using a fuction.. the user will enter the dimensions(x,y) and the function will print it.. in the first row must appear the numbe...
[no replies]
Passing an array to a function to calculate the min, max, and mean.
 
So, I'm trying to model the populations of fox and geese on a island. The populations of both the fox and geese are stored in two separate arrays. I have to wri...
[8 replies] Last: Haha, no worries. :-) (by MrHutch)
I need help in Identifying error C2249
 
This is 1 of 3 .cpp files i have but this is where the error comes from MovieType.cpp 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\ostre...
[1 reply] : Remove line 55. (by modoran)
April 2012 Pages: 1... 3031323334... 66
  Archived months: [mar2012] [may2012]

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