Beginners - May 2013 (Page 44)

Please help me T.T
 
i try to figure out what the wrong place, but i m newbie...any pro please let me know where i m wrong..ASAP thanks #include <stdio.h> int main () { i...
[3 replies] Last: I think your code is purely C. #include <iostream> int main() { ... (by Bourgond Aries)
Should destructor be called ?
 
HI! HI! I coded a class called Person : #ifndef PERSON_H_INCLUDED #define PERSON_H_INCLUDED #include <string> using std :: string ; class Person { strin...
[4 replies] Last: The use of a colon after a constructor indicates initialization . Whi... (by Bourgond Aries)
by eyali
Copy constructor
 
Hi All, I know that if a have class member that its being allocated dynamically I have to implement copy constructor and use deep copy (usually). Can I...
[1 reply] : Can I use the compiler's copy constructor? and if so why I don't need... (by Catfish4)
save data in cvs file
 
How can i save the output of c++ program in cvs file? I have to this type of data I have a loop in that i have data of three types and i want to asve it ...
[3 replies] Last: Well, you opened the file in append mode, with the ios::app option. ... (by Chervil)
Overloading operator should take exactly one/two arguments!
 
Edited a little HI! I am writing a class Person and it has only one member : string Name . I want to overload operator >> so that Person tmp1 ; Person tm...
[4 replies] Last: I think you like it a little. Actually I was pointing out that IDE h... (by MiiNiPaa)
by BillH
return value of a rect in c++
 
I have got a function in sfml which gets the co-ordinates of a rectangle bounding box for a circle shape. The return value is described as FloatRect and the val...
[7 replies] Last: Thanks Bourgond Aries and cire, I was obviously thinking along the wro... (by BillH)
by suraya
constructor
 
can someone explain to me this line of code? it is a constructor in a class but i dont get it LNot::LNot(Formula * right):BinaryOperation(new Variable(...
[7 replies] Last: actually vlad this is not my code, if it was i wouldnt have asked some... (by suraya)
hello need help with an array/matrix
 
Great forum.
[6 replies] Last: o ok thanks i really appreciate it. (by newbie1)
(%%%.h)-TO-(%%%)
 
How do you get This... #include <iostream.h> //But I want to have a file with: #include <iosream> #include <iostream.h> #include <iostre...
[2 replies] Last: There are only a few that you need the .h for like windows.h and conio... (by giblit)
Getline [Error] no matching function for call to 'std::basic_istream<char>...
 
I am trying to write a program where it reads two lines from a text file an combines them to make a password key. My issue is that I keep getting errors when ...
[8 replies] Last: Thanks giblit. I discovered that when I started to manipulated data. ... (by tneufeld)
by chridi
why application has requested the Runtime to terminate it in an unusual way?
 
Hello everyone I am trying to read from a file and save every line of the file into a array. The file's total size is uknown so I am dynamically allocating the ...
[9 replies] Last: [quote=Chervil]Within the loop, the new operator is used twice. Nice ... (by cire)
unexpected output
 
Hi, I'm new here and I have one doubt related to the language C. I'm learning it and trying to write a code that represents a linked list. I have a struct call...
[4 replies] Last: Hey keskiverto, thank you very much. I wrote the code again in anothe... (by bruno santana)
Reading from .dat and writing to .txt
 
So I'm in a C++ class (mostly taught in C though) and I'm falling behind I guess because I'm completely lost on how to do my project. I need to be able to re...
[8 replies] Last: Bump, even though I'm not sure this forum works with bumps. (by Revilo62)
look through a string of vectors and change letters
 
hi i need to look through a string of letters and change the letters simultaneously. so if i have aabbccttcc and do a change to c and c change to a. what ...
[5 replies] Last: thanks guys i totally forgot about the iterator (by pel1993)
Flesch Program...
 
I need help figuring out why there's a error before a bracket for a program I'm writing for a class. I put an annotation where the error is #include <i...
[2 replies] Last: Hmmm...I tried what you suggested but it didn't work. I already declar... (by Tobestik)
trying to test virtual functions
 
I want to test 3 classes (Point, Circle and Cylinder). I made a base class type pointer Shape *ShapeArray And i want to use this pointer to run the tes...
[6 replies] Last: wow thanks. i find it really weird that since i have all my files sepe... (by spiritedDedication)
How to add custom Libraries?
 
Hi I want to download the library BASS to play sound in C++ and I do not know how to. Can you please tell me what to do. Thank you.
[2 replies] Last: Well generally there are the same steps of introducing a library. 1. ... (by Bourgond Aries)
dividing a string into other variables
 
hi this is my first post and i would really like your help my input would be in this form category name ! type1 quantity av_mode ! type2 quantity av_mode ...
[no replies]
Ignore Function
 
My teacher told me "The ignore function can be used to skip over (ignore) input. Read the discussion on page 133 of the textbook to find out how to ignore the r...
[4 replies] Last: Figured it out (by MonkeyVsMonkey)
CMINUS MINUS HELP
 
Exam Tips for PASSING
[2 replies] Last: Try rereading any notes or the text from class. Also try to do some mi... (by RadCod3Win)
May 2013 Pages: 1... 4243444546... 66
  Archived months: [apr2013] [jun2013]

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