[try Beta version]
Not logged in

Beginners - June 2013 (Page 23)

Confused about what a template dose
 
I completely don't understand any thing about templates. I read books on C++ to help but i just don'...
Jun 17, 2013 at 3:31pm
[3 replies] Last: Templates enable code reuse, by allowing a function or class to work w... (by nkendra)
Calculator
 
Hi all! I want to make a calculator that calculates the product between two numbers, but I can't sol...
Jun 17, 2013 at 2:55pm
[1 reply] : Sorry, just figured it out! (by Isengardium)
String or int as part of variable name
 
int n = 9; while (n > 0) { Question???.ask (); }; Can I replace ??? with the value of n ...
Jun 17, 2013 at 2:49pm
[18 replies] Last: No worries - glad you managed to find the problem. (by MikeyBoy)
Reading some lines with diferent variables
 
Hi!! I'm new here and new programming in C++. I'm doing a program that I need t read from a fi...
Jun 17, 2013 at 12:06pm
[12 replies] Last: Hi... Sorry for the late reply. Thanks all for your help. I already... (by Nuno Santos)
How to change returntype of function during runtime?
 
Hi all, I am currently a beginner in C++ and I have a doubt. Suppose I have a function which check...
Jun 17, 2013 at 11:25am
[7 replies] Last: @andywestken Thanks for your precious advice. :) -Himansh (by Himansh)
Help with fscanf()
 
I feel like I'm missing something. I'm working on a basic simulator for school and I've been playing...
Jun 17, 2013 at 10:28am
[6 replies] Last: I'd like to point out that since you are using C++, you shouldn't be m... (by Duthomhas)
by Blank
adding two random numbers..
 
i need help...this is what i have so far.. Write a program that can be used as a math tutor for...
Jun 17, 2013 at 9:58am
[1 reply] : quite a relevant example here: http://www.cplusplus.com/reference/cstd... (by mutexe)
Reading txt file in to an char* array.
 
Write your question here. Put the code you need help with here. #include <iostream> #inclu...
Jun 17, 2013 at 9:41am
[10 replies] Last: I didn't log in in the weekend, so you might have completed it. Here i... (by tath)
by Imme
Word Guessing game!
 
I need to write a program which receives a word with 4 letters from the user (not necessarily meanin...
Jun 17, 2013 at 9:23am
[1 reply] : Read and Learn only then you can earn ;) i mean points in exam. I th... (by ErrorFree)
SDL Init problem
 
Hi. just want to link and init sdl library to project. do all steps from http://lazyfoo.net/SDL_...
Jun 17, 2013 at 5:36am
[3 replies] Last: You have to link the include folder, the lib folder, and then put the... (by giblit)
Pointers to functions
 
I am working on a class that only has one function that is public and that is the initial call for t...
Jun 17, 2013 at 2:08am
[2 replies] Last: If you're using C++11, it's a lot easier to use function objects: #... (by Disch)
by giblit
Simple compiler/langauge
 
I am trying to make a simple "language" and compiler that will let me do a "hello world" project and...
Jun 17, 2013 at 1:25am
[15 replies] Last: Like a normal windows. Also yeah under the flags I have c++11 enabled.... (by giblit)
by send
No matching function for: insert
 
Write your question here. #include <string> #include <fstream> #include <iostream> using ...
Jun 16, 2013 at 11:03pm
[5 replies] Last: This code I found in the net. It is solving of one of handbook task. T... (by send)
[SOLVED]"Segmentation fault" error with "strncpy" function in
 
Hello, guys! I'm trying to get a substring of a string in C and i'm using strncpy function to do thi...
Jun 16, 2013 at 10:56pm
[4 replies] Last: vlad and smac89. Thanks for your help. Now everything is working fine! (by robgeek)
by lmsmi1
OpenGL Console (Fullscreen)
 
Is there a possible way to emulate a C++ console program in OpenGL or something like OpenGL, fullscr...
Jun 16, 2013 at 8:16pm
[2 replies] Last: So I've stripped the console of all styles and get this: http://www.i... (by lmsmi1)
Tic Tac Toe
 
Hello, I tried the tic-tac-toe exercise and this is what i did, it works the way i wanted it is for ...
Jun 16, 2013 at 7:36pm
[16 replies] Last: #include <iostream> #include <string> #include <cstdlib> //lib for p... (by SkyDriver2500)
by MoLAoS
String Error
 
What does it mean if I am calling a function to read a string and it crashes with the debugger just ...
Jun 16, 2013 at 7:31pm
[6 replies] Last: More like I have an undefined level of intelligence. Sometimes I work ... (by MoLAoS)
How to Store the Last Data ?
 
Case An automotive company needs a program that checks gasoline usages. This program can be use...
Jun 16, 2013 at 7:05pm
[2 replies] Last: Oh my god, I LOVE YOU SO MUCH giblit :* Thanks :) (by geezle86)
by klay2
console game
 
it shuts itself down after the first question #include <iostream> #include <string> #includ...
Jun 16, 2013 at 5:13pm
[6 replies] Last: Define please. Also lets look at your code.. 1) you are using goto I... (by giblit)
Returning by reference
 
Hello Like we pass arguments to function by reference, how do we return by reference? Thanks
Jun 16, 2013 at 5:12pm
[9 replies] Last: @JLBorges Though I mentioned that my school teaches me using Turbo ... (by The illusionist mirage)
June 2013 Pages: 1... 2122232425... 49
  Archived months: [may2013] [jul2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.