Beginners - September 2011 (Page 30)

Comparing two strings
 
hello all i am writing a text mud in ansi-c and am having some trouble comparing strings of text when spaces are involved. here is my function to compare tw...
[2 replies] Last: http://www.cplusplus.com/reference/clibrary/cstring/strstr (by helios)
Help
 
Hi, im using codeblocks, first of all class Class { public: void Function1() {std::cout<<"Function1"<<std::endl;} void Function2() {} }; how d...
[1 reply] : You need to instantiate Class before calling any non-static members.... (by closed account zb0S216C)
Abnormally terminating program when using if-else loop
 
Hey all, A complete novice here looking for assistance w/ coding here. It's simple..just employing the use of two functions. One function prompts the user f...
[no replies]
What software is there to make a program?
 
Hello, Can someone tell me what software there is for this. (NOTE:no VB visual c++) I have learned some c++ and want to create a sample program if im running ...
[4 replies] Last: The "software" used for making a program out of C++ is called a compil... (by Stewbond)
Intro as well as a few questions -
 
I'm new here to the forums, so hello to all who take the time to read this post. I'm beginning in C++ and teaching my self. I've bought a C++ Book for Beginn...
[15 replies] Last: I see. In that case, thanks for the help guys, this will really help m... (by Blastizard)
C++ is ignoring half of a math function.
 
So I'm trying to display the Volume of a Porcelain wash with C++ using Length, Width, Height, and Radius imputed from the user. I'm using Pi as a Variable as I'...
[3 replies] Last: That is correct. You're attempting to do 0 * something. It's a good ... (by Ben Duncan)
by AKat
Understanding Error Messages
 
Usually when I've made a mistake in the source code, I generally just go off the line number and find that it's generally a typo. But a lot of it doesn't make s...
[4 replies] Last: Holy source code Framework! :) But yeah, I see how breaking it down h... (by AKat)
by hydroJ
Need help with this for loop please, can't make it work.
 
it works through the cout << test print for smallDigitLoop 2. but can't get the rest of the code to work they way I want to. trying to compare all the values in...
[4 replies] Last: else if(digitTwo > digitTwo[countTwo--]) Never do this. There'... (by Disch)
My do-while loop won't terminate the command why?[HELP]
 
#include<iostream> using namespace std; int main(){ { Start: int n,m; char re; cout<<"Zodiac Sign "<<endl; cout<<"Exit "<<endl; cin>>n; do{ ...
[8 replies] Last: #include<iostream> using namespace std; int main(){ { Start: int n,m... (by sleet65)
Drawing Images into a Win32 application
 
What functions are used when drawing RGBA data in the win32 window? What functions are used?
[3 replies] Last: If it is for blitting images on screen, then AlphaBlend() is the one. (by webJose)
Can someone give me a nudge with an Assignment?
 
Below are the intructions I have for an assignment at school. I'm not very big on programming and it doesnt come easy to me. I have parts of the program started...
[1 reply] : This is all I hve so far. I know I am missing a lot and I am going thr... (by stevo7624)
Querying a MS Works DB file (.bdb)
 
Hello, I have a Microsoft Works backup database file (it has the .bdb extension). I would like to create a C++ app to query the database because I do not ...
[no replies]
needs a little push :: with delete
 
Hi.. i'm trying to write a program for my assignment with add, display all, search edit and delete functions.. but I'm stuck with edit and delete... I've been s...
[6 replies] Last: "Format" is just a concept, it doesn't refer to anything specific of t... (by hanst99)
How do i install c++ a library?
 
if i want a new library like #<3y3rt762> you know.i have microsoft visual c++
[2 replies] Last: Download the library. The library will have some of the following thin... (by Moschops)
Trouble with Hello World variant
 
Don't Laugh... Just started. :( Trying to make myself a Hello World-type file that I can display the basics of C++, along with some comments for my own learn...
[6 replies] Last: Visual Studio is good, but I wouldn't say it's the best. I used it for... (by hanst99)
A doubt about static functions in a Class
 
I had basically 2 doubts about them. 1)If I create a class A as: class A { public: int num; static void rNum() {return num;} }a,b; //...........
[2 replies] Last: Ah! Thanks a Lot! That clears it up. Thanks again... (by Nisheeth)
by holkey
SUPER NEW
 
Okay, I literally just began C++ programming and thus far, I'm loving it. BUT I do need some guidance. I'm attempting to write a program so solve an equation. T...
[12 replies] Last: You forgot <<fixed Also, use [ code ] [ /code ] tags around your co... (by hanst99)
Pointer question
 
So in my code, i want to create a pointer to some data by doing the following: Something *A = &Something(parameter1, parameter2); So, i'm passin...
[7 replies] Last: I find myself guilty of not using smart pointers where it would have b... (by hanst99)
by hydroJ
Newbie Here having trouble with assigning values to arrays. PLS help!
 
I've spent a better part of a couple of days trying to figure this out and I'm lost! I have a value of type int stored to a variable. I am trying to take t...
[4 replies] Last: was not using the conditions correctly, but got it to work int grea... (by hydroJ)
by Gldnbr
Issue with code
 
I'm trying to make a code that converts all decimal numbers between 1-255 to hexadecimal. From the looks of this code, it seems to be fine, however, it continu...
[2 replies] Last: FYI, STL streams already can convert to HEX, and this includes the sta... (by webJose)
September 2011 Pages: 1... 2829303132... 48
  Archived months: [aug2011] [oct2011]

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