Beginners - November 2011 (Page 54)

by Ragine
Numbers Question..
 
Okay so here's my question. I have 10 numbers that are always changing but there's one that doesn't, how can i find that one number that is not changing and...
[6 replies] Last: Yes, I know of that method but can you give me a example of the kd tre... (by Ragine)
using strcmp
 
pllllllllllzzzzz someone help me out for this plzzzzz...i want to output equal words from words groups n1 and n1. this program just giving value of the equal wo...
[7 replies] Last: You're welcome. (by closed account D80DSL3A)
Problem in Visual C++ with Including files
 
I had made a program that handled vectors (mathematical). Now that I was starting with SFML, I found that using that program will save me some trouble. So I go...
[4 replies] Last: Looked. The only place where it is in another project (The one where I... (by Nisheeth)
Green text C++ compiler?
 
Im looking for a c++ compiler with green text as you type the code out? Its a strange reason. and ive tried google. Anybody know? Thanks in advance
[5 replies] Last: Thanks guys! (by redacted178923)
Problem with a while loop
 
I am writing a program that is suppose to fill up an array with numbers between 10 and 100 inclusive but it should not allow repeat numbers. I wrote the fol...
[8 replies] Last: OK...just be prepared that, if your array becomes large, your program ... (by mzimmers)
2d Array Help
 
I just need a little bit of help. Can someone please tell me how to pass a 2d Array to a function and then have that function return the highest number in th...
[11 replies] Last: this is your problem: for (int e = 0; e <= ROWS-1; e++) and this is... (by codekiddy)
Way to use C++ with unity3D?
 
I want to be able to do this, but if someone can even reccomend a better engine that uses C++, I'll use that instead
[no replies]
by rej3kt
Incrementing not working
 
deleted
[2 replies] Last: Are you sure that: 1. your if statement is being tested sufficient tim... (by mzimmers)
What to do with a source code?
 
I just downloaded a source code from http://8325.org/sudoku/source.html i clicked on the link solver.cc. i am able to open it with Microsoft visual c++ 2010 exp...
[no replies]
Outputing data overwrites the file...
 
Hi coders, I have a lil' programm which writes "lol" out to file.txt. The thing is the file is overwritten everytime the code is used. How to change the code ...
[7 replies] Last: Did. Still the same. Maybe something is wrong with my compiler etc. (by dxshindeo)
New problem. I dont understand how to convert a char/int to string
 
#include <iostream> #include<string> #include<stdlib.h> #include<cstdlib> #include<iomanip> using namespace std; class employee { private: ...
[no replies]
by deanW
Problem with C++
 
Hey guys i'm new in c++ and i have a problem with it.I'm using the MinGW compiler but first i have to change an option to enable the compiler.I'm runing win7 an...
[2 replies] Last: i'm using the MinGW Complier to learn the basics (by deanW)
displaying strings
 
Ok, so i have a few questions. There's something wrong with my validation loop because if you enter anything that isn't an int (anything with decimal places), i...
[5 replies] Last: This is prob the point of this exercise, so giving you too much help w... (by andywestken)
Writing To Binary File
 
#include <cstdlib> #include <iostream> #include <fstream> #include <cstring> using namespace std; struct myRecord { char name ; double bala...
[3 replies] Last: That isn't normal at all (by Levantation)
by Yezman
Simple File I/O and Stream State question
 
The prompt is " Given a bool variable isReadable write some statements that assign true to isReadable if the file "topsecret" exists and can be read by the prog...
[no replies]
Programming with Pointers and arrays
 
I have looked at another posting from a while back regarding this same question I am about to ask but there was so much going on it did nothing but confuse me s...
[4 replies] Last: OK. I got that portion fixed finally so need help with the last part:... (by blondielox)
I cant figure out this error involing my char variable
 
#include <iostream> #include<string> #include<stdlib.h> #include<cstdlib> #include<iomanip> using namespace std; class employee { private: ...
[2 replies] Last: lol for reals....well i learned something today XD Thanks so much (by darthwiz67)
by denZer
Getting Array from text file for strings
 
I have a text file (called words.txt) that contains 8 words. It goes something like this: store apple tennis etc and I am trying to copy just one string so th...
[4 replies] Last: Here is the general code in C++. For C I would read the entire file in... (by wolfgang)
by ihm
invalid initialization of non-const reference
 
I am trying to reference to a class variable which is a vector<int> and change value of the vector. I got this error. what am I doing wrong? thanks in advance. ...
[2 replies] Last: oh i see. I just want to simply my part of my codes with those codes. ... (by ihm)
Greatest common denominator
 
Im trying to find the GCD 2 separate ways, and the second one is by the Euclidian Algorithm. so far the first way seems acurate however for the second part I al...
[1 reply] : I figured it out, my output was showing up as zero because the loop en... (by galiphat13)
November 2011 Pages: 1... 5253545556... 65
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.