Beginners - March 2011 (Page 26)

by mowie1
hot topic testing problems
 
Can some one help .....I am solving a sudoku puzzle this is the .cpp file int row ; // the r...
[2 replies] Last: STL so I am multiple files that are just not shown. There are four fil... (by mowie1)
by snakec
making header files and library in c++
 
hi everybody i m writing a simple function void show in c or c++ here is the the definition of the ...
[2 replies] Last: Use the first method. The second one may lead to multiple definitions... (by moorecm)
halp with stricmp/case insensitive strings
 
HAI! I'm having a problem with comparing case insensitive strings. I tried using stricmp. but it...
[1 reply] : Got it, just made my own function. (by strongdrink)
by TNT
A practice need to be solved
 
There are three options available to the user: 1) Add two numbers 2) Add between two to five nu...
[1 reply] : Whats the question? :P (by strongdrink)
by buenas
arrays, pointers, and i/o files
 
I am completely new to c++ and dont understand why this program wont let me put in any data. I look...
[1 reply] : char getName() { char name; cout << "What is the filename of the gr... (by Breadman)
accessing linked list members
 
How can linked list members be accessed? so far I've got this code. #include "stdafx.h" struc...
[5 replies] Last: Consider a to be element 0, then d is element 3. Slinked_list* iter ... (by closed account D80DSL3A)
passing by reference const
 
how do you pass by reference without altering its contents. So far I realized that putting const can...
[3 replies] Last: Yes. If a function f() takes a value x this way: f( const int& x )// ... (by closed account D80DSL3A)
Strange things with output
 
Kinda simle code: int main (){ char c; while ((c=getchar())!='\n') { cout <<c<<endl; } ...
[4 replies] Last: thanks a lot, try with c as int and EOF works fine! (by janibeg)
newbie (1,2)
 
hello, i am a newbie who doesn't have any programming experience. i heard that python is great to s...
[22 replies] Last: I felt the same way when I started....Though some people just can't ha... (by spoon licker)
by vlad61
default links and libraries
 
I Think i may have fucked up my default codeblocks links to the standard c++ libraries when followin...
[13 replies] Last: hmm yeah i dunno.. ill try doing it from another computer.. but im thi... (by vlad61)
by trig
Selecting certain parts of a image
 
Hi, I have this problem, i am uploading a .PNG image file and want I want to be able to do is to ...
[1 reply] : You most probably need an image processing library, this one comes top... (by matsom)
by jonsto
write a program that converts a hex string into a decimal integer (1,2)
 
I was hoping that someone could show me how to convert a hex string into a decimal number. The book...
[22 replies] Last: does this code look right for the binary to decimal conversion? #incl... (by jonsto)
Noobish help needed but anyways
 
I'm completly new on c++, recently on my college I got this class and now I need to do some homework...
[3 replies] Last: take a pencil and paper and figure out how you can disect the number 1... (by vlad61)
Array class question
 
Ok, so I have this function mystery, int mystery(int n) { if ( n == 0 || n == 1 || n == 2) r...
[1 reply] : 1. A big one. 2. Many. 3. Many. For 1) just compile the function and ... (by hanst99)
unresolved external symbol
 
Hello everyone, I need to make a program that computes the integral of a normal distribution usin...
[3 replies] Last: The problem is your constructor doesn't do anything yet. To be honest,... (by hanst99)
-> operator
 
My class defines a functions: BOOL Initialize(int iCmdShow); and uses it in the...
[5 replies] Last: // Call the GameInitialize function. If it returns // true, then... ... (by hanst99)
operator overloading
 
I have some questions with no better place to get answers from here? 1-why static functions aren'...
[7 replies] Last: cin>>x>>y>>z; Is the same thing as cin>>x; cin>>y; cin>>z; Becau... (by hanst99)
Bidimensional Arrays
 
How do I return a bidimensional int array, like int array , from a function?
[4 replies] Last: Ok, thank you. I ended up modifying the code to a 1D array, thanks to ... (by Tarou San)
Creating a windo
 
Hey! How do i create a window? im getting tired of these console applications....lol. I know in l...
[2 replies] Last: And probably not in 6 or 7 lines. Well, maybe with Qt or something, I ... (by hanst99)
extremely local variable, or not?
 
I've just been wondering, if I do: if(rand() % 3 == true) { // make w super-local by using a br...
[3 replies] Last: Firstly, may I ask exactly what an 'extremely local variable' is. I ha... (by anonymous23323124)
March 2011 Pages: 1... 2425262728... 52
  Archived months: [feb2011] [apr2011]

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