Beginners - May 2009 (Page 18)

data seems unpredictable
 
My code will compile and run, but I'm unusual data in my return for rotated data. It seems to effec...
[no replies]
by Lorena
Fstream doesnt receive input(?)
 
fstream Gated(nameToCheck,ios::in); if (Gated.fail()) //File is created { cout << "blahbla...
[2 replies] Last: Actually, you solved my problem =p it seems i had forgotten to clear ... (by Lorena)
by lvpk
Menu program error
 
Hi everyone,I was working on a program that is a food menu, using functions and the error that I kee...
[2 replies] Last: here's the code, i tried doing it before but i think with my whole exp... (by lvpk)
simple class
 
Im having problems making a simple class. I made classes before but with the class I am working on n...
[8 replies] Last: lol well this is my first time ever taking a computer programming clas... (by pimster987)
String wrap
 
Sorry for my English, and code. I'm just studying both. Problem is with text wraping by words. I ...
[3 replies] Last: Thanx a lot :) That was more easy then I thought :) There is a body: ... (by DownFree)
extern comand and cpp files
 
what i am missing; main.cpp #include <iostream> #include <string> using namespace std; strin...
[11 replies] Last: iostream includes string. (by helios)
Needs assistants
 
I am writing 2 functions for a group project program. They are very simple but I was sick during cla...
[9 replies] Last: But is the "if/else if" stuff right? Because thats what we have learne... (by Poeticsoul44)
Read file header information
 
I have followed the tutorial and thought I would attempt to modify the Input/Output with files examp...
[3 replies] Last: Thanks guys, yes 128-132 is 5 bytes sorry my mistake. Big endiannes... (by simplesimon08)
by Nuclei
Mastery - Give me a hurdle?
 
Hello, I am relatively new to C++ (Been reading the documentation for maybe 3 days now?) but not cod...
[18 replies] Last: 0xFF is hexidecimal format, FF is equal to an 8 bit-value with ALL bit... (by jRaskell)
by jeysel
AlpHaNumeric sOrtinG
 
hey guys, i need help about this problem.... i am sorting a number of names, but if i inputted a lo...
[5 replies] Last: jeysel, just write your own strcmp that is case-insensitive. No reason... (by Hammurabi)
ilink32 error-Unresolved external '_printf' referenced
 
i have download a source code file and occur error when compile, how to amend it C:\Borland\BCC...
[11 replies] Last: helios: :o great.. companies should take your advice and start u... (by writetonsharma)
Moving on from console
 
Hello everyone! This is my first post on these forums, and I'm guessing it won't be my last. Unfo...
[8 replies] Last: Curiously enough, only the English version says "9000". All the other ... (by helios)
by Lorena
A program that receives input without being on top of the screen...
 
I've been wondering... How would you go about making a program that receives keystrokes without be...
[3 replies] Last: It detects keystrokes regardless of focus. It can be used to set up gl... (by helios)
Reading NPC location from .txt file???
 
So I have my SDL project to read tiles from a tile sheet via a .txt file. I have a separate tile she...
[no replies]
by Adyst
How to implement overloaded operator
 
So here's my question. I have written this chunk of code, and written an overloaded operator for >> ...
[1 reply] : If you need to write info into a file you can use the fstream library ... (by closed account S6k9GNh0)
returning a value
 
I can't figure how to arrange my for loop to return the index value. As is now, after user date i...
[2 replies] Last: I'm not sure how to compare the index to mylist . if (min > mylist... (by static33)
Determining path for ambiguos include
 
I have code which I compile with no problems with gcc/g++ and has a local string.h file. So if I h...
[4 replies] Last: You're right. I forgot to mention that I was passing the local directo... (by messenjah)
what is the matter with this program
 
# include <iostream> using namespace std; void readmatrix(int row) {int column; cout<<"The Num...
[2 replies] Last: You can also use vectors, read http://www.cplusplus.com/forum/articles... (by Bazzy)
Sorting vector via recursive function
 
OK, so here is a basic for loop sorting function that I have coded prior to my current program: ...
[11 replies] Last: Ok, I have myself a new and improved (kinda) program that is working m... (by satchmo05)
by soyuz
periodic boundary conditions in a lattice using arrays
 
Hi I need to implement a laticce of, say lxl. I whant to do that using arrays. But I need that la...
[no replies]
May 2009 Pages: 1... 161718192021
  Archived months: [apr2009] [jun2009]

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