
please wait
by Dom
creating a diamond shape
|
I am trying to create a diamond shape, I wrote this function to created it but I am only getting the bottom half of the diamond, the top part is giving me numbe... |
Jul 28, 2010 at 7:14pm
[1 reply] : Please use code tags. You are missing curly braces in the else stat... (by ne555)
|
by rfretel
Difference between -> and point
|
Please if someone can tell me the difference of use -> and use a . (point) Also what happend when I use :: in my code. Thank you! |
Jul 28, 2010 at 6:28pm
[1 reply] : . is used to access a member of an object. -> dereferences a pointer ... (by Athar)
|
by ehsangha
string
|
Hi . what is my fault . the compiler return ISO C++ forbids comparison between pointer and integer| int main() { string word; cout <<"\n enter word\n:... |
Jul 28, 2010 at 3:46pm
[4 replies] Last: Thank filipe (by ehsangha)
|
by Marek
Do...While question?
|
OK. I'm doing an exercise and i stumbled upon a problem. Is it possible with Do...While to do a break point and instantly end the loop Like When i write in 0 ... |
Jul 28, 2010 at 2:52pm
[1 reply] : you can get out of a loop using break; so you could if(a == 0 |... (by Skillless)
|
by koopa
function question
|
hi all, just wodering what the standard practice is around locating function code, e.g. if I have a program which has say 10 different functions, would the s... |
Jul 28, 2010 at 12:49pm
[2 replies] Last: thanks for the response, currently working through classes, hopefully ... (by koopa)
|
by gcr114
cin.getline(not, working) >:o
|
hey guys here the code: void the_name() { char name , address , city ; string state; int zip, phone; cout << "Mr. Smith wants to know ... |
Jul 28, 2010 at 12:42pm
[1 reply] : if you delete line 16 and convert the line 17 to cin.getline(city, 80... (by badsector)
|
by Callum5042
Count down
|
I been trying to make a simple timer that counts down in seconds. When I get under ten the numbers go like this. 12 11 10 90 80 how do I get rid of... |
Jul 28, 2010 at 12:05pm
[4 replies] Last: use for or while. (by meyrambek)
|
by brokenpunx
Hello :)
|
Sorry if i am wasting your time and i am sure there is a simple conclusion for this but anyhoo, heres me problem #include "stdafx.h" #include <iostream> #... |
Jul 28, 2010 at 10:15am
[12 replies] Last: Sorry. [quote=a pierce o]I barely know what you mean by "overloaded... (by chrisname)
|
by Goofy
String to Long Double and vice versa
|
#include<iostream> using namespace std; #include<cstdlib> #include <string> #include<cstring> #include "convert.h" class bMoney { private: long ... |
Jul 28, 2010 at 9:28am
[8 replies] Last: how about dropping stringify and sending money directly to cout ... (by bobito)
|
setting an int value to chars |
I'm trying to create a function that will set a variable like so: 'a' would set the variable to 1. 'b' would set the variable to 2. 'c' would set the variabl... |
Jul 28, 2010 at 8:23am
[3 replies] Last: char c; cin >> c; cout << (int)c - 96; (by dishanf)
|
by Sarah89
problem in defining list
|
hello everyone well i am using this command i want to know whether my syntax is correct or not? list "node_data*" ndlist; |
Jul 28, 2010 at 7:47am
[1 reply] : std::list <node_data*> ndlist; (by Denis)
|
by josh23941
not declared in scope and redefining error
|
Hi I am working along with a beginner c++ book and I have gotten stuck on one part. The program is a calculator and it builds it throughout the book. Unfortun... |
Jul 28, 2010 at 3:45am
[4 replies] Last: yeah this was the problem...using gcc I when I don't specify the outpu... (by josh23941)
|
by YueyMD
Static input line
|
Is it possible to have a static line for input in the command console? Such the bottom most line of the console static and dedicated to input. I'm not exactl... |
Jul 28, 2010 at 1:46am
[2 replies] Last: Thanks! (by YueyMD)
|
by Docbyte
Creating a tree pattern using looping
|
I am new to C++ and have a problem in a class I am taking.I am having trouble trying to create this the way my professor wants. this is what is required from th... |
Jul 28, 2010 at 12:26am
[2 replies] Last: You can easily do this program with just two for loops total. One i... (by Chemical Engineer)
|
by liyants
Difference between Dates::Date and ::Dates::Date
|
Hi, Could you please tell me the difference between the convention Dates::Date and ::Dates::Date ? |
Jul 28, 2010 at 12:06am
[2 replies] Last: Thanks a lot (by liyants)
|
by n8c
memory leaks
|
this may sound dumb. but if i were to accidentally create a console app with a memory leak, dose that memory get de-allocated after the program is terminated or... |
Jul 27, 2010 at 11:54pm
[9 replies] Last: but I'm using visual c++ and that dose target the common language runt... (by n8c)
|
by koutsos1
Dynamic Memory
|
So this is what code I have so far and I am confused as what I need to do for the rest of it. I need a program that generates the fibonacci sequence to the numb... |
Jul 27, 2010 at 7:39pm
[5 replies] Last: Well, the way you're doing is a little odd to me, but from a quick gla... (by declan)
|
by DeadSix17
Char,Struct,Class ? Im Confused.
|
//Id enjoy help.. :/ Im out of ideas.. i dont know what im doing wrong // (In the source its a different void wich inserts the data.. not int main Since its a ... |
Jul 27, 2010 at 4:32pm
[5 replies] Last: And by the way, I strongly suggest you to review arrays and pointers o... (by memecs)
|
by EmmyS
converting from decimal to binary with arduino
|
I have an arduino board, which has a language very very similar to c++ and I'd like to know how to write a program that converts decimal to binary, I've looked ... |
Jul 27, 2010 at 2:30pm
[3 replies] Last: Will something like this work for you? #include <bitset> std::s... (by PanGalactic)
|
by molocas
New project visual C++
|
Hello every one, I am new in C++ and I have a new project. I have a text file with numbers that are coordinates x,y The text files´s format looks like... |
Jul 27, 2010 at 7:50am
[4 replies] Last: Do you know how to read numbers from the file? You're instructions ... (by kbw)
|