Beginners - December 2010 (Page 17)

Calculator Script
 
I am currently working on a practice script that runs as a calculator. It evaluates expressions such as 8*7 and returns the value associated with it. I ...
[6 replies] Last: Also, at everyone's leisure, you can answer my second question above. ... (by Ameobea)
SFML Runtime Error
 
I've installed SFML 1.6 (I think; that install should really give a more extensive report). I've tried compiling the example they give at the turorial: #...
[1 reply] : For some reason, when I went g++ -o SFML{,1.cpp} -lsfml-system ... (by DeusExInfernus)
by Patoto
Devc++_Allegro_HeaderFiles
 
Im using allegro, and im trying to add a header file to my code, but i get errors such as: [Linker Error] undefined reference to System::System() or [Linker Err...
[3 replies] Last: Where's System.cpp with the definitions of System() and ~System()? Als... (by filipe)
A program that converts numbers into words
 
I'm writing a program that will convert any number less than 10 million into words. It divides the numbers into substrings of hundreds as the first step i.e. (s...
[9 replies] Last: Oh right right right! Thanks Alot! (by waqqassheikh)
linking a variable to a part of the program
 
Hello, this is my first post on these boards, and any help you could give me would be great. I was wanting to be able to set a variable so if entered would link...
[5 replies] Last: actually yeah that is how it is supposed to be, because you want to ke... (by ERanz21)
make an executable file in linux
 
Hey all! When i compile something on a windows pc with lets say dev-c++ or code::blocks, i always get a simple .exe file which can be opened with a simple do...
[11 replies] Last: It "works". If you run it from the file browser, the program will run.... (by Athar)
Matrix
 
I am approaching to create a code that generate magic square. This is what i got, i code a program that can generate 3 x 3 number from 1 to 9 consecutively and ...
[2 replies] Last: Thanks alot, (by hunkeelin)
Classes and their uses
 
Hello. I'm a new programmer, and have been going through the tutorial on this site. It's easy enough to understand, but it doesn't do a very good job about sh...
[13 replies] Last: Thanks again! You're all a great help. (by Ameobea)
midterm review question
 
Hi can someone help me answer these questions. They will help me prepare for my final: Which of the following is 4 bytes and holds negative and positive whol...
[8 replies] Last: still doesn't help, what are your answers to the questions so that the... (by ERanz21)
by firix
Stack Implementations using Array
 
Hi, I tried to configure the stack and queue structure using a array.Do you think? Is that the correct configuration? Thank you all. class STACK{ ...
[no replies]
Tutorials
 
Can anyone give me links/site for C++ tutorials on functionality array and loops? Like how to create a 2d matrix. And some introductory level of use of bool.
[1 reply] : http://www.cplusplus.com/doc/tutorial/ here you go, this has lots o... (by ERanz21)
by Rave
Complexity analysis
 
well i need to find the T(n) for this: int recursive(int n) { int x,y; if (n <= 1) return 0; else { for (int i=0; i < n ; ++i) ...
[4 replies] Last: Ok, I found my mistake... In calculating the complexity of the sum abo... (by m4ster r0shi)
by six620
convert float to integer
 
I want 12.345-->12 23.468-->23 i am newbie, i can do it by nearest integer y = floor(x+0.5); but want to learn by other way, #include <stdio.h> int...
[3 replies] Last: Many thanks! It is really a good place to learn C++. I have spent ... (by six620)
Array of Objects
 
I want to make 2 classes, One being class Array the other class Node In a node object I want to store an ID name, and a number. And then populate the array...
[1 reply] : if you have that green check mark it means that you question is answer... (by coder777)
very simple question
 
translate this English to c++ -> a is a integer from 1 to 9
[6 replies] Last: @h9uest what you are saying? (by firix)
Using access database with c++
 
Hello, I'm doing a project where I'm gonna be making a program with c++ that can get data from an Access database and I'm gonna make it in qt. But I'm kinda new...
[1 reply] : ODBC (Open Database Connectivity) is a somewhat uniform interface to a... (by coder777)
by hasula
what mean of this code ?
 
i found it in template section, can anyone tell me what is it ? if ((element>='a')&&(element<='z')) element+='A'-'a';//----------what is this mean ? ...
[1 reply] : 'A' equals to the number 65 (ASCII-Code) and 'a' -> 97 so line 2 s... (by coder777)
Simple Explanation
 
#include <iostream> using namespace std; int main() { int v1=7, v2=5, v3=0; v3=v1 * (v2=6); cout << v3 << endl; return 0; } What does v3...
[2 replies] Last: int v1 = 7 is saying v1 holds the value 7 int v2 = 5 is saying v2... (by some random dude)
Threads in C++ (1,2)
 
Hello! I tried to find some informaton on the internet about threads in c++, but unfortunatelly I couldnt. I found about threads in C#,Java etc. Please help ...
[20 replies] Last: Haha then you can expect advertisements on all your applications. XD ... (by sohguanh)
would the compiler handle std::move for me?
 
I notice that C++0x would include semantic move, would the compiler handle the move for the users?Or should we explicitly ask the compiler to do it for us? ...
[2 replies] Last: Thanks, would those standards containers and primitive types make it t... (by stereoMatching)
December 2010 Pages: 1... 1516171819... 35
  Archived months: [nov2010] [jan2011]

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