
please wait
by FlyingTr
how to use "logic_error"?
|
I have very little knowledge about this subject so do not judge me. Can somebody explain me why we use std::logic_error? I mean we can use try and catch witho... |
Jul 29, 2013 at 6:39pm
[2 replies] Last: Thank you for your answer. So I will have to say. void Class::writ... (by FlyingTr)
|
by Blanchy
Baseball Program
|
oh god whats wrong #include <iostream> using namespace std; int firstInning(); int nextInning(); int firstInning() { cout<<"\n\n****** Visi... |
Jul 29, 2013 at 6:25pm
[2 replies] Last: Have you ever tried using the "switch" method instead of using else-if... (by InclinedToFall)
|
by YumiFerrari
getaddress methode
|
Hi. I got a question. I'm trying to make a methode witch gets me the value of my input key from my map function. I was thinking of doing it with a getaddress... |
Jul 29, 2013 at 6:14pm
[2 replies] Last: i thought of a method called GetAddress. the function should search th... (by YumiFerrari)
|
by ZeHgS
Linker error when defining function
|
Hello! I have a class with a few functions, but I am getting a weird linker error whenever I try to define them. If I comment out all of the functions, it... |
Jul 29, 2013 at 6:13pm
[2 replies] Last: Anyone? (by ZeHgS)
|
by Dimmins
Class function not behaving as I wanted
|
Thanks for reading my question. Working in C++ and on Visual Studio 2010. I am writing a DnD roster program for the summer to keep myself in the know on all th... |
Jul 29, 2013 at 5:50pm
[4 replies] Last: I have the struct header declared inside the class. Moving it outside... (by Dimmins)
|
C++ string functions |
Write a program that reads a string and outputs the number of times each lowercase vowel appears in it. Your program must contain a function with one of its par... |
Jul 29, 2013 at 5:35pm
[6 replies] Last: Oh... Lemme try that... (by Sagnik Mukherjee)
|
by Albo Coder
nothing
|
nothing |
Jul 29, 2013 at 5:32pm
[8 replies] Last: I do not see the necessity to use the vector in your code. It would be... (by vlad from moscow)
|
Prime number generator giving bad output |
Hi everybody! I was the "Prime Number Generator" from SPOJ(Sphere Online judge) (Link here: http://www.spoj.com/problems/PRIME1/) I wrote the following cod... |
Jul 29, 2013 at 5:24pm
[6 replies] Last: It works now! Final Code: #include <iostream> using namespace std; ... (by ishandassharma)
|
by donvigor
iterating over a 2d vector
|
Ok so i managed to learn vectors..one d...then now how to create 2d..fantastic..i can easily move up and down the 1D vector...but nowhere on this site am I find... |
Jul 29, 2013 at 5:15pm
[4 replies] Last: If you understand a 1 dimensional vector, then it shouldn't be that mu... (by cire)
|
by nolannpm
Why am i getting a syntax error
|
Im trying to start using dev-c++. Im using C language. I keep getting an error message "syntax error before "system"" #include <stdio.h> #include <stdlib.... |
Jul 29, 2013 at 5:14pm
[3 replies] Last: I figured it out. Thank you (by nolannpm)
|
by Rezivor123
parameterless constructer hypothetical
|
A sample problem I've become stuck on.... Sally The Programmer is working to improve a class called FlashDrive. She decides to make a parameterless constru... |
Jul 29, 2013 at 5:03pm
[3 replies] Last: I do not know.:) Ask your professor. (by vlad from moscow)
|
by YumiFerrari
Sorting numbers (file sorting)
|
Hey guys!! Got a problem I can't solve. I have a table with data in it. To sort these i need the 2nd and 3rd columns. The 2nd columns are the level and 3rd a... |
Jul 29, 2013 at 3:27pm
[4 replies] Last: try this sorting (bubble sort) for strings creating an array of string... (by Albo Coder)
|
by kateng32
help on min and max(debugging)
|
cant seem to figure out whats missing #include<iostream> using namespace std; int main() { int min, max, ave, sum, a, b, c; cout<... |
Jul 29, 2013 at 3:22pm
[9 replies] Last: NP... I guess It is solved... (by Albo Coder)
|
by soori
function overloadin or template functions which is better
|
which is better function overloading or template functions..?pls help.. |
Jul 29, 2013 at 2:20pm
[2 replies] Last: it was an interview question ...even i was not sure i just told them t... (by soori)
|
by tip791
Breadth First Search - marking problem
|
I'm not really having a coding issue or compiling problem . I am having more or less a design choice. Rather I want to see if there are more (or better) ways to... |
Jul 29, 2013 at 2:05pm
[6 replies] Last: Yes, either directly or indirectly. The simplest recursive versions ju... (by JLBorges)
|
by piczim
My Program wont run on another machine
|
I have written and tested my code and its running on my machine I then save it as an executable file gcc -std=c11 -Wall -Wextra -pedantic-errors -O3 -static-... |
Jul 29, 2013 at 1:13pm
[4 replies] Last: Thank you I will try this and advise accordingly (by piczim)
|
by mrahmadi
neural network c++
|
Write your question here. please suggest me a good library / toolbox to use neural network in NS. |
Jul 29, 2013 at 12:54pm
[no replies]
|
by Rakanoth
Very Interesting Question
|
hey i am begginer and exploring all documentation. i encounter a very interesting thing.. in this piece of code if i trying to enter a character or very big nu... |
Jul 29, 2013 at 12:11pm
[4 replies] Last: This may not be 100% accurate. When you input a number that is bigger... (by Olysold)
|
by IWishIKnew
data structure: (=) assignment operator causes segfault?!
|
Alright. I have written a class: typedef string newtype; class blabla{ public: //constructors, argument is a string... sets the private var. ... |
Jul 29, 2013 at 12:10pm
[9 replies] Last: opps... thanks naraku. (by Manga)
|
by Miadric
How much C++ knowledge is required to write a game like CubeWorld?
|
I'm starting to learn C++ and I was wondering how much knowledge would be required to write an RPG like CubeWorld ( https://picroma.com/cubeworld ). I'm not wan... |
Jul 29, 2013 at 9:22am
[3 replies] Last: Thanks guys, pretty helpful and friendly community here by the looks o... (by Miadric)
|