
please wait
by Sisten
Why choose the c++ language
|
Hi, why would i want to learn c++, what is it useful for? i've tried a bit, but i think the output is a bit wierd, ive got the book jumping into c++ but it does... |
Feb 4, 2016 at 4:30pm
[8 replies] Last: C++ relies quite heavily on dynamic memory allocation Naive C++ (whe... (by Cubbi)
|
by ZahoorKhan
Why this simple pass/fail in exam program is giving error? (1,2)
|
I am trying to compile this program but compiler gives an error "else without a previous if". Why? #include <iostream> using namespace std; int main() { int... |
Feb 4, 2016 at 4:20pm
[21 replies] Last: That question has been answered well over a million times, type it in ... (by TarikNeaj)
|
by BlueOctopus
text-based online RPG game
|
Sooo. Hello again. I heard that making text-based RPG games with C++ is not the best choice but still can be done. My question is if I can make it online someho... |
Feb 4, 2016 at 3:32pm
[5 replies] Last: Thank you for your replies. I decided to keep it offline for start. (by BlueOctopus)
|
by cskarche96
I need help. Can someone explain to me a few lines of my teacher's code?
|
Hello guys I'm a beginner in C++ and I would like to ask for some help. Can someone explain to me the meaning of the lines 4 and 5. Also I would really apprec... |
Feb 4, 2016 at 2:14pm
[4 replies] Last: your teacher is a maniac Or he's trying to test to what extent his s... (by MikeyBoy)
|
Project ideas |
Hello everyone. I currently work in the systems administration field (Cisco/Linux) stuff like that. But it is really time for me to become a Jr. programmer ... |
Feb 4, 2016 at 1:58pm
[4 replies] Last: but thats not something you cant learn as you go I agree with Tarik,... (by Jaybob66)
|
Memory Allocation |
There is a lots of functions for memory allocation malloc,calloc,realloc etc. Why do we need to learn them? I mean memory allocation. Whats the use of it? |
Feb 4, 2016 at 1:56pm
[4 replies] Last: Thanx everyone.. And I couldnt understanding by searching from google... (by abtahi tajwar)
|
by nanJIL
c++ basic coding
|
Hey guys! I am basically very new to this C++. Let me just jump into my silly questions, hoping to get answers. 1. why do we declare int size 2. void come... |
Feb 4, 2016 at 1:08pm
[4 replies] Last: do it step by step, first: Write a complete C++ program that can rea... (by Jaybob66)
|
by Camimaine1
An online shopper program Problem
|
Hello, I have a problem here with this question. There are 2 parts to this question and I have solved the first part. Here is the question: Part A) An online ... |
Feb 4, 2016 at 12:24pm
[4 replies] Last: You mean the assignment [...] you're right. Thanks. (by mido70)
|
by keanedawg
Disabling / enabling a default parameter
|
I just don't get it. If I declare it in the .cpp, it works. If I remove the default parameter (changing it to just "bool sold"), it works. But this will not com... |
Feb 4, 2016 at 11:27am
[3 replies] Last: overloaded can only mean one thing, there is more than one of them and... (by Jaybob66)
|
by cskarche96
Can someone explain to me why should we declare "new double" ?
|
Hello guys, I'm a beginner at c++ and in a few days I have an exam but there are some things I don't understand in the example cpp file that my teacher sent ... |
Feb 4, 2016 at 11:24am
[3 replies] Last: Ok, now I get it thank you guys. (by cskarche96)
|
by keanedawg
Why is the bad_alloc exception not const?
|
Is there a special reason why the std::bad_alloc exception is not a constant? from cplusplus: include <iostream> // std::cout #include <new> ... |
Feb 4, 2016 at 11:07am
[5 replies] Last: Note that this has nothing to do with what we discussed earlier becau... (by keanedawg)
|
by Arghya139
making a rhombus with just for loop
|
I have just started programming in C++, and in our class we started with for loops today, I was just trying to make a rhombus in cpp which will take an input of... |
Feb 4, 2016 at 10:56am
[2 replies] Last: have u checked the second last line ? (by Arghya139)
|
Callbacks |
What is the use of callback exactly in C/C++ When I was learning API(glfw) there had been told about that many times.. What exactly it is? |
Feb 4, 2016 at 10:41am
[2 replies] Last: Thanx a lot (by abtahi tajwar)
|
by CrypticA1
Replace a character in a function
|
Ok so here's a question I got. I want to replace a single character in a string lets say it's '+'. The string is "five + five". How exactly should i do that? I ... |
Feb 4, 2016 at 9:25am
[2 replies] Last: // replaces the first '+' with '*' string swag = " five + five"; fo... (by Thomas1965)
|
by YvngSavage
How to apply what ive learned
|
I have been attempting to learn c++, but whenever i learn something it messes me up trying to apply what ive learned to a project. I was going to attempt Proje... |
Feb 4, 2016 at 6:29am
[2 replies] Last: I'm still learning, but basically here is what I'm doing. I'm writing... (by newatthis)
|
What does this code do? |
I've got a teacher who... well.. He's a fun guy, but he isn't the greatest teacher in the world. He gives us homework assignments designed so that we will all c... |
Feb 4, 2016 at 5:34am
[1 reply] : See https://msdn.microsoft.com/en-us/library/x6aebccc.aspx (by JLBorges)
|
by Pter0dactyl
Filling HTTP form using C++
|
How do I go about making a program that fills an HTTP form and automatically submits it? I tried google but every result I see has used JavaScript. Isn't it pos... |
Feb 4, 2016 at 4:44am
[1 reply] : Very possible, I use cURL to submit forms myself. You just need to set... (by wizebin)
|
by willmannix1
having trouble with a function
|
was wondering how do I output the numbers i just swapped in my function to the screen, its only outputting the first number imputed by the user for example if t... |
Feb 4, 2016 at 4:28am
[2 replies] Last: Ah i see, thanks mate (by willmannix1)
|
by gutty333
Reading a text file new line and adding a new line
|
Hello folks I am practicing some polymorphism and the goal of one of my sub-classes is to transform a text file and add a an extra empty line between lines. EX ... |
Feb 4, 2016 at 3:26am
[no replies]
|
I need help assigning input to each cout |
I'm using the count to produce multiple messages "Integer #" depending what number the user inputs for the first cin. If the user inputs the number 4 it should ... |
Feb 4, 2016 at 3:08am
[1 reply] : Its fairly simple. You can use an array but the array must have a cons... (by Stalker)
|