Beginners - July 2011 (Page 30)

by kassik
symbolic code
 
Cant figure out how to write a code for add or subtracting symbols for example: alpha+alpha=2alpha any help is appreciated.
[7 replies] Last: Thanks a lot. (by kassik)
by ninoy
How to use loops for this problem?
 
Hi, I'm a beginner. Can anyone help me to solve this problem? Thanks! program reads an integer value n and a character symbol. The program forms the let...
[2 replies] Last: Can you please give me the codes for this one? And I will try another ... (by ninoy)
Template Function
 
Hi! Hope everyone is anxious for the upcoming weekend. I have a quick question regarding templates before the weekend takes over. They are a new topic for me ...
[3 replies] Last: Thanks for the responses. They worked like a charm!! (by thephysicsguru)
by nayef
charactar array
 
hi guys,I really don't know what's the wrong with this code,it should prompt the user to enter any number but -1, and store it in const int size so as to enter ...
[4 replies] Last: thank's fun2code you really helped me (by nayef)
by Leo94
code problem
 
so,I saw this code somewhere in a tutorial on youtube , and I tryed to run it,but it didn't work. using System; using System.Collections.Generic; using Syste...
[2 replies] Last: Leo94, I believe the code you posted is _not_ C++ but C# (CS, C-Sharp)... (by closed account S6k9GNh0)
What is wrong with this code?
 
I am reading Accelerated C++ and I do not understand why this code: #include<algorithm> #include <iomanip> #include<ios> #include<iostream> #include<stdexcept...
[5 replies] Last: I changed std::istream& read (std::istream, student_info&); to std... (by STLreliant)
problem in exit function
 
void main() { int menu; do { //main m enu cout<<"Press 1 to create an object of rectangle class.\n"; cout<<"Press 2 to cre...
[6 replies] Last: yes u r right but it s useful too. (by closed account 9wX36Up4)
I Have a Problem!
 
I have searched for hours in iostream/fstream&ostream&ifstream library. Because of that: #include<iostream> #include<fstream> #include<windows.h> using namesp...
[2 replies] Last: thank u Nisheeth (by closed account 9wX36Up4)
using a text file??
 
i have a question about having a separate text file used for a program so the problem is that there is a text file that has measurements in it that i need to...
[no replies]
total noob needs help!
 
hey guys im new to this site and a total noob at programing in any way shape and form. i just want to ask for those of you who self taught c++, what is the best...
[11 replies] Last: I took a C++ class in high school and in college (sophomore in college... (by ResidentBiscuit)
Using Functions in a Text Adventure
 
Hey guys, so i have been trying to put together a lil text based adventure game been working on it for 2 hours now and i cant seem to use the cin or the getl...
[9 replies] Last: Just a little tip, look up the transform() function to convert a strin... (by ResidentBiscuit)
Need Homework Help...I have code
 
I am trying to complete a C++ assignment for one of my classes and have become confused due to my inability to get it to compile. Everything seems to be in ord...
[4 replies] Last: I was just pointing out the hilariousness of said compilation error. I... (by shacktar)
need help with classes
 
So basically, this is the scenario //////////////////////////////////////////////// //A.h Class A { public: . . . }; ////////////////////////////////////////...
[10 replies] Last: union SDL_Event event; struct SDL_Surface * X; struct SDL_Surface * O... (by ne555)
Noob here, semi lack of knowledge.
 
Looking for someone hard out interested in helping me learn more about C++, make some miscellaneous programs etc etc. Sort of partnership, i guess it would ...
[4 replies] Last: You should read up on the primitives of the language on your own and a... (by Turbine)
Right Align User Input
 
I've been searching through the forum but unfortunately I'm not able to find a topic that could provide me with some insight regarding aligning user input. I'm ...
[1 reply] : Displaying is: cout << setw(9) << 123456789 << endl; Remember to a... (by Turbine)
Using int to control an if statement
 
I can't see what is wrong here. The first line works fine. The second results in a compilation error "invalid initializer". I'm testing to see whether the fi...
[2 replies] Last: Thanks. Can't believe that I overlooked that. (by joatmon)
Binary Search trees
 
Does c++ have a library that implements a binary search tree, or do you have to build them yourself?
[4 replies] Last: Ok after a little thought I think a heap will be plenty sufficient for... (by tam0009)
by tonnot
How to have a fixed size string / char in my structure
 
I'd want to have a fixed char element for my structure, in example, 200 characters, but I dont know how to do it. Any help ? My_structure { char(200) title...
[10 replies] Last: @ tonnot You need to google "c++ serialization". You are trying to u... (by Duthomhas)
Turn off std out?
 
I'm wanting to write a program that syncs files between two different folders on my computer. What I'm planing to do is to use the System("batch command") funct...
[8 replies] Last: webJose +1 (by Duthomhas)
by Leo94
need advices
 
Hello , maybe I could have found the answer to this question with a search here or on the web , but I really want to ask you,so peoples who answer will know my ...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/ (by LB)
July 2011 Pages: 1... 2829303132... 54
  Archived months: [jun2011] [aug2011]

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