
please wait
by kentclark09
abc triangle program
|
I creating a program that will show a abc letter shape like a triangle. But i dont know if my program is correct. Can someone post their program so i can compar... |
Jan 13, 2015 at 10:21am
[no replies]
|
by Chase
.sort() and #include<list>
|
Hello, i'm posting here because: 1. I'm just a beginner and I'm not sure how some C++ codes work; 2. I'm trying to learn C++ from a Dummy book, I have no teac... |
Jan 13, 2015 at 9:44am
[1 reply] : i've tried using it on strings but it didn't work No. It works. l... (by shadowCODE)
|
What does :: do? |
Often when viewing code online I see :: used. What does it do and how/when should I use it? Thanks! |
Jan 13, 2015 at 9:33am
[8 replies] Last: In object oriented programming. It is use to link the function definit... (by xenovia12)
|
by donvigor
std::cout not giving out vector contents...
|
Write your question here. ok so this is just a part of the whole code... after running i don't get to see content of the vector on terminal... but the size c... |
Jan 13, 2015 at 7:47am
[2 replies] Last: #include <iostream> #include <vector> #include <iterator> #include <a... (by JLBorges)
|
by dgdaniel23
Average of 3 numbers C++
|
Hello everyone I'm a beginner to coding and I would like some help with something I have encountered while trying to write some code. This is not homework just ... |
Jan 13, 2015 at 5:19am
[2 replies] Last: Thank you, all help is appreciated! (by dgdaniel23)
|
Object creation question |
I thought I understood how pointers and objects work, but I am confused when this happened to me. I was not able to create an object using the new operator. I h... |
Jan 13, 2015 at 4:30am
[3 replies] Last: Wow, thanks @MiiNiPaa and @Disch. @Disch - thanks for the list, it wil... (by funprogrammer)
|
Incomplete type not allowed error |
I am wondering why I am seeing this error - "Incomplete type not allowed" #include <iostream> using namespace std; class Node { Node prev, next; // Err... |
Jan 13, 2015 at 3:14am
[2 replies] Last: Thanks that makes sense. I did not think of that :) (by funprogrammer)
|
by pconrad29
Don't Know why this doesn't work.
|
In this it is supposed to repeat the while function when the answer inputted is the same as "r". It does not do that and I have no idea why. i have it couting w... |
Jan 13, 2015 at 1:48am
[2 replies] Last: Thanks. That fixed it. (by pconrad29)
|
by Jean
Don't know what the problem is...
|
I wrote this in Code::Blocks and when I press F9 it shows me a black square (as it should), but it looks like it waits for me to write something. #include<io... |
Jan 13, 2015 at 1:01am
[1 reply] : Array int F ; has 63 elements. Valid subscripts range from 0 to 62 i... (by Chervil)
|
by kmtompkins
determining between cap and lower case letters
|
I want to be able to have it where the if the letter and shift is pressed to do a uppercase letter and if the letter is pressed and not shift then for it to be ... |
Jan 13, 2015 at 12:35am
[2 replies] Last: O ya i dont know what i was think i knew that thanks:) (by kmtompkins)
|
by mightymeowth
Char input causing infinite loop, can anyone help me out
|
I'm trying to do error checking for my program and I got it to work with numbers but not characters. Can anyone check out what I have and let me know what I can... |
Jan 13, 2015 at 12:25am
[6 replies] Last: Please, read my explanation of what happens in previous post. I explai... (by MiiNiPaa)
|
by jammin
I have an issue with my switch statement
|
I've been trying to figure this code out for a while, but no matter what you type "north" "south" "east" or "west" it only displays the current case over and ov... |
Jan 13, 2015 at 12:15am
[1 reply] : if (input.compare("west") != 0) This reads as "if input is not west... (by MiiNiPaa)
|
by Slashdash
Is this program dueable C++ or not?
|
I'm very new to C++ programming and I'd like to know how I can create a program which searches for a text on a website (It's my schools website) and then if the... |
Jan 12, 2015 at 9:25pm
[2 replies] Last: You shouldn't do this in C++. Although you can fetch the page and sea... (by kbw)
|
by DEnumber50
Asking user for file name and displaying file
|
I cannot get this code to work and I am wondering why, it's probably something small that I am overlooking but my research hasn't provided to be useful. I need ... |
Jan 12, 2015 at 8:27pm
[10 replies] Last: THATS IT! I thought that it just needed to be in the same folder as th... (by DEnumber50)
|
by Life24
Jump from string
|
Hello, Where is the problem? I can't get str and jump from it. I need solution for beginners #include "stdafx.h" #include <iostream> #include <string> using n... |
Jan 12, 2015 at 8:15pm
[1 reply] : > I can't get str and jump from it. No idea what you are trying to say... (by ne555)
|
by Alex623
Programming Portfolio Example Ideas
|
Hi there! I'm kind of new at programming and have only taken several classes on the basics of different languages (Loops, Arrays, Functions, etc.). Currently... |
Jan 12, 2015 at 8:01pm
[no replies]
|
by Dan Feerst
confused about syntax in void function
|
I'm fairly new to c++ and I'm confused about syntax in a void declaration from the cplusplus reference. It's an example of the signal.h libraries. /* signa... |
Jan 12, 2015 at 6:35pm
[7 replies] Last: Thanks for all of your explanations. I think it is making a little mor... (by Dan Feerst)
|
by RadWayne
Overloading Operators
|
I've overloaded the << operator at the bottom of a header file. This is causing LNK2005 and LNK1169 errors both stating multiple definitions. //Something.... |
Jan 12, 2015 at 5:52pm
[1 reply] : Definitions do not go in headers. They should be in own compilation us... (by MiiNiPaa)
|
char array and pointer to char array assignment |
In both programs I am trying to assigning pointer to char to that char arry. In second case program correctly. but in first case showing error. #includ... |
Jan 12, 2015 at 5:46pm
[15 replies] Last: Thanks everybody. especially nickeeromo. your explanation of WHY thin... (by santosh anantwal)
|
by teerna
Passing structures to functions.
|
Hello, I have to write a program which allows the input of a student's id, name and marks in 4 different subjects using a function input_stud and another functi... |
Jan 12, 2015 at 5:36pm
[13 replies] Last: I have finally understood the whole concept. Thank you everyone for yo... (by teerna)
|