[try Beta version]
Not logged in

Beginners - February 2013 (Page 40)

by hvigil
Help converting a class to a template
 
Hello I'm having trouble converting a class to a template. It gives me two errors when I compile it....
Feb 13, 2013 at 11:17pm
[3 replies] Last: 1>main.obj : error LNK2019: unresolved external symbol "public: void _... (by hvigil)
by jane2
need to solve an exercise
 
Hello guys. i really need some help on this !! create a class which contains 2 private members expre...
Feb 13, 2013 at 10:19pm
[8 replies] Last: Okay, that shouldn't be too difficult, because by definition a first d... (by Thumper)
Functions that gets the largest of some values?
 
I'm writing two functions: One that gets the largest of two integers and one that gets the largest o...
Feb 13, 2013 at 9:31pm
[2 replies] Last: Thanks! (by phymafia123)
by tree
Help with a perfect number detector using pointers
 
Howdy folks, like the title says I have a homework assignment to code a perfect number detector in r...
Feb 13, 2013 at 8:50pm
[6 replies] Last: No, it's you writing out of bounds, which causes undefined behaviour. ... (by ne555)
by jane2
hey take a look at this pls, i have test
 
create a class which contains 2 private members expressing the coefficients of a first grade equatio...
Feb 13, 2013 at 8:35pm
[1 reply] : Doublepost.. http://cplusplus.com/forum/beginner/92540/ Please don't ... (by Thumper)
What does "While(n)" mean in C?
 
Hi all! I've seen many time things like while(n) {...} or if(n) {...} . What can it mean? Does i...
Feb 13, 2013 at 8:26pm
[3 replies] Last: Thanks a lot! ☺ (by Anthony973)
by Sumeth
Cout printing something unexpected.
 
Hi guys, I have recently started learning c++. I do however know java and some python. I decided t...
Feb 13, 2013 at 8:16pm
[1 reply] : The "ridiculous numbers" are simply uninitialised variables. Array Tim... (by Chervil)
template specialisation
 
Hi, Can anyone please tell me why the second function cannot be a specialization to the first ?? thi...
Feb 13, 2013 at 8:05pm
[3 replies] Last: Thank you very much guys...!!! (by Harish050887)
by desin
Reading until the line ends.
 
Soooo, I need to read characters until the end of the line. I know that the end of the line should b...
Feb 13, 2013 at 7:44pm
[7 replies] Last: ifstream fd("duom.txt"); string text; getline( fd, text); ... (by desin)
Just need a little help guys !
 
I am sorry to post a question about a calendar, because i've done some searching and found similar p...
Feb 13, 2013 at 5:51pm
[1 reply] : You may want to start by insuring your compiler is generating warnings... (by jlb)
Adding node to end of linked list
 
I have a header with inline implementation and I have a node header that returns all the values I ne...
Feb 13, 2013 at 5:28pm
[4 replies] Last: If you have a data member tail that points to the last node in the l... (by cire)
Need help with passing structs into functions.
 
Hey all, First time poster, hopefully someone could help me out. Basically my program needs to read...
Feb 13, 2013 at 5:01pm
[3 replies] Last: Oh thanks for the help vlad from moscow! (by blazer52)
String Vs Char *str
 
Dear i am very new in C++ and i am bit confuse also. i want to work on strings while searching about...
Feb 13, 2013 at 4:57pm
[4 replies] Last: > i want to know the functions with strings http://en.cppreference.co... (by JLBorges)
by DELB
Code Help - Copy Constructors
 
// Heap Data Member.cpp : Defines the entry point for the console application. // #include "std...
Feb 13, 2013 at 4:41pm
[7 replies] Last: Thanks Jim. However I still have difficulty getting my head wrapped a... (by DELB)
How to store a number in different variables
 
Hello, I am working on this code where I need to store a 32 bit number but in two variables. For e...
Feb 13, 2013 at 4:39pm
[8 replies] Last: Am I understanding this correctly? Yes. It's the same as doing num... (by toum)
file.eof and tabs
 
I have while(!file.eof() ){ //does something } in file there is a set of measurements ...
Feb 13, 2013 at 4:14pm
[11 replies] Last: @Lynx thanks that would work. @Cubbi seems like the code that I am lo... (by dodohjk)
Code:blocks question
 
I've figured out I'm not doing the syntax wrong when I'm trying to use multiple files. I'm setting u...
Feb 13, 2013 at 3:53pm
[4 replies] Last: Yes, and I tried making sure the file wasn't precompiled. (by Austin J)
A simple calculator program
 
Following is my calculator program but i have two errors reported by my IDE 1)Error 1: error C386...
Feb 13, 2013 at 3:13pm
[2 replies] Last: You cannot call main(). The reason for "identifier not found" messages... (by Chervil)
how to read the text file exactly line by line?
 
i've been searching online for a long time and can not find the answer i am looking for. Here is the...
Feb 13, 2013 at 2:46pm
[2 replies] Last: Thanks! It worked. (by fiji885)
by fusi0n
Strcopy understanding
 
Hi, my code is as follows: #include <iostream> #include <string.h> int main() { cha...
Feb 13, 2013 at 2:13pm
[4 replies] Last: Thank you guys very much. I totally forgot about the '\0' char. (by fusi0n)
February 2013 Pages: 1... 3839404142... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.