Beginners (Page 52)

by leo255
Growable String Array - Getting Seg Fault
Hi all, As stated in the title, I'm just trying to write a class with a growable string array. I'm ...
[2 replies] Last: Thanks!!! (by leo255)
Search and replace
How would I be able to search for a number and change it in a text file? I looked through many sites...
[3 replies] Last: int n1, n2; string str; get n1; get str; get n2; n2 += 2; write n... (by anup30)
New to C++, have no idea what I am doing
So, I'm really sorry if this is the wrong place, or a bad question, I am new here, and to c++. In my...
[3 replies] Last: I think the best way to tackle this is to look for patterns. Consider ... (by deathslice)
Next step in this program
So I've decided that the next program that I'm going to make is a traditional checkered board game. ...
[5 replies] Last: I think I much rather use loops seeing as though as this is a big grid... (by deathslice)
Random program crashes
I'm trying to figure out why this program crashes sometimes but then runs successfully other times. ...
[2 replies] Last: You're right, it does! Thanks! (by tylradm5)
by zanne
Need help with minimum spanning tree
I need to start program that counts from top branch wich is: 1, this program counts from 0, could a...
[1 reply] : I'm confused. It sounds to me like you are having trouble because your... (by Duoas)
by wolfv
polymorphism with template<>
I need help solving a compile error in the following code. I am trying to set an array size at compi...
[2 replies] Last: That was it! I always miss the simple things when it gets complicated... (by wolfv)
function called by main
Hi, I'm working on this program and I wanted to know if I was going in the right direction or not. H...
[6 replies] Last: Thanks for your help :) (by Newie0001)
Randomly spawning on a map
Hi guys, I've been trying to get this piece of code to work but I'm hitting a wall I don't want to ...
[7 replies] Last: i'm also still learning. it is one of those things that grows arms and... (by rafae11)
REALLY confused with class
Hello. I am learning about classes and I understand a bit on how they work: like functions, except i...
[19 replies] Last: Yup, You're on the right track, given the assignment. Note that in the... (by dhayden)
Help please!
I just now started to learn this and i dont know why i cant get it to work please help //main.cpp...
[3 replies] Last: If his topic is done CLOSE THE TOPIC ! (by jasonwynn10)
Want to output results from a Function
HI guys, after outputting the Function.. Its just after the switch Function List : //Describes, b...
[6 replies] Last: Cool, thanks for the pointers:) (by HarrySyson)
Random Number Gen. w/ Math Equations
I'm having many problems with my Homework . . I'm trying to make a code that generates 10 Random Num...
[1 reply] : (1) Use functions. Put all that stuff that fills Smith with random ... (by Duoas)
Does not name a type error
I'm using vectors in a class that creates different attributes for different types of units and I'm ...
[7 replies] Last: Now that those technical issues are fixed I can focus on setting each ... (by deathslice)
using std::shared_ptr
Hello, I'd like to have a shared_ptr type object in a class , and one of the class' member fun...
[8 replies] Last: No, but you can write one yourself. For example, implementation for si... (by MiiNiPaa)
by AYQ
why does this if-function without else does not work
(Code was written in Visual Studio Express) The following function is called multiple times in a wh...
[4 replies] Last: Without the `else' you will be always executing the decrement. If the ... (by ne555)
Does this look right?
The program runs but what I want to know is if I did things that were unnecessary? or was there an e...
[4 replies] Last: I get it now, thanks for your advice! (by Newie0001)
by rko786
can not get this to work (1,2)
#include <stdio.h> #include <math.h> int main() { float temp_c, temp_f, result; int i; ...
[21 replies] Last: ill check this thanks (by rko786)
by Neek
Why Input Data type conflict is causing infinite loop
The code below shows a simple program, which is a small piece of code from simple math game.But in t...
[2 replies] Last: Formatted input. See (by keskiverto)
by rko786
need help to clean up
#include <iostream> #include <fstream> #include <cmath> #include <windows.h> #include <string> ...
[2 replies] Last: why are you printing out c when c=0 and you never change that? (by ninjarun)
Pages: 1... 5051525354... 91
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.