Beginners - March 2011 (Page 39)

UML diagram
 
Hi guys. Even though I work in Java, I think you can help me. I have some questions about very long diagram that I have to make. In short lines the task is thi...
[2 replies] Last: Thank you, but I finished it. Either way thank you for your reply. (by JackDaniels)
Why does this 2[d] array crash when 'fill' command is used?
 
class b { public: string boardinfo ; } o_tic; fill(&o_tic.boardinfo , &o_tic.boardinfo + sizeof(o_tic.boardinfo), "-"); Any i...
[no replies]
by rhead
Issues while combining two projects.
 
I'm working on a two part project- think of them as transmitter and a receiver. I started off with separate C++ projects for transmission and receiver stages. e...
[no replies]
by Mack41
Adding looped data read from a file
 
Hi I am new to C++ and have been having trouble with this one program. I need to add up different totals calculated in if/while statements from a loop. I am u...
[2 replies] Last: Specifically, you want to increment the value of donation_total each t... (by closed account D80DSL3A)
by hi8246
error appear!!
 
hgfhgf
[2 replies] Last: http://www.cplusplus.com/forum/beginner/1/ Please read that and the... (by hanst99)
Finding null in an array of chars
 
i am trying to make a while loop that goes through an array of characters and looks for the end of line character or null or /0 but it wont let me how do i set ...
[5 replies] Last: What zhuge said. Single quotes for characters, double quotes for zero ... (by hanst99)
by OOri
missing function header
 
Hi im very new to programing and i'v spent some time trying to write this, to store and display the string 'a dragon'. I keep on getting: error C2447: '{' : ...
[2 replies] Last: Got it, thank you (by OOri)
Quick question regarding RegisterClassEx()
 
Im a little confused on whats happening with this: // Register the window class if (!RegisterClassEx(&wndclass)) return 0; I cant see how we are registe...
[6 replies] Last: Thanks AGAIN hanst99 for all your replies to my threads. (by TpOreilly)
Classes in Functions
 
Why is it then when an object is passed to a function in "main" that its members change in "main" and not just in the function. I'll copy my code and explain b...
[4 replies] Last: OK, that makes sense. So really anytime you are passing an array to a... (by reiandcoke)
A derived class
 
Hi All, I know this is a really stupid question but I really needed to ask this ! class A { private: int age; public: void printAge(void); void...
[3 replies] Last: Uh... not really... B does use the values of A. You can still call A... (by hanst99)
by trig
Function pass issue...
 
Hi, I have this: void __fastcall TERDmarker::LecERDClick(TObject *Sender) { LecERD->Picture = *pct; //LecERD->Execute(); } //----------------------...
[4 replies] Last: Do not worry, i have fixed the problem woohooo thank you for your h... (by trig)
by sikac
Overloading the << and >> operators
 
I'm having problems while trying to overload the << and >> operators. I have a class called LargeNumber which (in theory :D) which I use to create objects wh...
[2 replies] Last: Sorry, I'm from Bosnia and in my language VelikiBroj is LargeNumber :)... (by sikac)
fellow noobs read this!! (1,2)
 
Have you ever had to send a whole bunch of related variables to a function? I just found these things called structs. If you think of a variable like a containe...
[26 replies] Last: First message is great :) I can see the excitement he had. (by oldnewbie)
Seg fault but why.
 
i had this code in my last program and it worked fine and it works on my friends mac but it wont work on my g++ compiler or devc it gives a seg fault at the t=t...
[12 replies] Last: Your teacher is probably not an idiot, but many teachers really lack p... (by hanst99)
simple tic tac toe gone wrong
 
i will start off by saying yes this is for school, but i have gotten myself hopelessly tangled in the code. i am not looking for the answer but some help would ...
[no replies]
Why doesnt this output what I want?
 
#include <iostream> #include <iomanip> #include <string> using namespace std; double receiptmake(string item1, double priceitem1, string item2, double ...
[6 replies] Last: Are you sure it's doing what you want? Is this what you want your outp... (by Browni3141)
New to C++ (1,2)
 
Hi, I haven't ever used C++ before. I'm only 11, but I've worked on games for Python with my dad. We haven't found a way to practice graphics, but we've gotten ...
[24 replies] Last: Ugh that makes me sick. #include<iostream> int main() { s... (by Browni3141)
by asdf
How to open an existing file and use the data to construct a function
 
Hi, I am trying to do the following: I have got a file with two columns, "2col.txt", and I would like to use this file to construct a function on a program: ...
[6 replies] Last: Ok!! Thanks very much for your help!! Finally I have obtained what I w... (by asdf)
English Motherf*ck*r! Do you speak it?!
 
All programming texts use some deep nomenclature that I simply dont understand. Google/wikipedia is trash at explaining some of these terms. Is there any C++...
[8 replies] Last: ooooh sorry about the double negatives... (by vintage)
class member as const
 
Hi All, Can I specify class member as const just like Java? This is correct Java snippet: class TestFinals { private final int n = 77; TestFi...
[3 replies] Last: Thanks a lot, Grey this is exactly what I'm looking for (by mbnoimi)
March 2011 Pages: 1... 3738394041... 52
  Archived months: [feb2011] [apr2011]

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