Beginners - September 2011 (Page 2)

I can't figure out what I'm missing
 
Hi guys, so I'm working on this simply lab and everything seems to work fine when I build the soluti...
[4 replies] Last: @torind2000: For what given price means the price is for how many unit... (by Nisheeth)
Declaring variables inside / outside a loop
 
I'm trying to optimise some code i've written, and was wondering when the best place to declare a va...
[2 replies] Last: Always declare as late as possible, so that means inside the loop here... (by Athar)
Warning C4018
 
Hello, In nearly all my coding projects which, due to their nature, are 90% for loops of the form...
[5 replies] Last: It's not necessarily a list, but usually one of the std containers, so... (by Gaminic)
can i typecast like this?
 
Hi all, i have pointer to an object (class A) in process A and i'm sending the content of this ob...
[6 replies] Last: Hi Athar, why we need POD class here? Actually this class is know by... (by sagarmd30)
Help on adding a "*" operator to a Class
 
I'm trying to add a multiplication operator to a Point class. I'm still getting two errors when I tr...
[6 replies] Last: We'll then it might be a good example to show that just because an ope... (by Mathhead200)
Any alternative ways of reading data from binary files?
 
Hello all. Suppose I'm reading some double s from a binary file. I can do this: myBinaryFile.re...
[2 replies] Last: Bump. Any ideas to get operator >> to work with "unformatted" input ... (by Catfish)
by Ch1156
Help with Text game
 
Hi everyone, i have been learning C++ for a few months now and i decided to make a small text game, ...
[16 replies] Last: What do you mean? my main line with all this stuff would be: void ... (by Azagaros)
by skrep
Class Declaration
 
Hello all, after a little help with some C++ code. I have been asked to fix a VS2005 MFC project ...
[2 replies] Last: Thanks Azagaros. That's exactly what I thought (re: my original post) ... (by skrep)
My variables are not initializing
 
Hi all, this is my first time posting, so this is probably going to sound pretty newbish. #inclu...
[2 replies] Last: You're assigning, not initializing. Your final series of cout stateme... (by uberwulu)
reading a file bytewise
 
Hi, newbie in c++: (working some beginners tutorials atm) trying to read a file header, from whic...
[12 replies] Last: if you don't know what 'escape sequence' means this might be helpful: ... (by coder777)
by codrgi
how to get the first 5 letters from an int/string?
 
how do i get the first 4 or 5 letters from an int? 1234 56789 or 12345 6789, what methods are ther...
[3 replies] Last: Divide by a multiple of ten with a number of zeroes equal to the numbe... (by uberwulu)
Hello
 
Hello, iv become interested in computer programming. I am a complete newby and need some help on how...
[4 replies] Last: Keep practicing. Some ideas for projects to do: http://www.cplusplu... (by TheMeerkat)
HELP with input char
 
Hi, I am trying to input a character and right away an array of characters... However once i inp...
[6 replies] Last: @wolfgang Thanks a lot man! I tried 4 forums and no one could give m... (by Greek89)
by smalld
why the following explicit instantiation does not work?
 
Anyone can give me some hint why the following code generates compile error? Thanks! #inclu...
[6 replies] Last: right, if I don't put the template in main that works. thanks. (by smalld)
need help!
 
Hello, I'm having some problems writing this program. I'm supposed to display a graph that compares ...
[5 replies] Last: Yes, you could do this: for(int count = 1; count <= 5; count++) { c... (by carebearboy)
Help with understanding the code
 
hello i need to know how this part of the code works... i have very bad teachers in school so i nee...
[1 reply] : operator * This indicates which operator is being overloaded. con... (by closed account zb0S216C)
Use of Pointer Addresses to compare Class Instances
 
Hey, I would like to know whether it is good practice to use Pointer addresses to check whether t...
[3 replies] Last: This was commonly done in assignment operators to prevent assignment t... (by moorecm)
how to enter a unicode point into std::string
 
hi, I am starting programming with gtkmm cairomm and I must pass some text to a function that has t...
[5 replies] Last: And I found this http://www.ltg.ed.ac.uk/~richard/utf-8.html itbecomes... (by meaulnes)
Help With tuition Problem
 
hi everyone im struggling to start my program, please a little help will be apreciated The uni...
[5 replies] Last: But there's no need for evil globals here! #include <iostream> //You... (by andywestken)
VC++ to .NET
 
I'm using MS VC++ 2010 Express. How can I develop C++ code in .NET?
[2 replies] Last: Thanks for the reply. A tutorial is very much appreciated as well. (by sshafiee)
September 2011 Pages: 1234... 48
  Archived months: [aug2011] [oct2011]

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