Beginners - September 2012 (Page 38)

need help simple program
 
Hi need help with this: I want to code an array of 20 individuals sitting at a circular table where they play a game. The game is not important. What is impor...
[1 reply] : a one-way circular linked list would work just like that. The "clockw... (by Texan40)
Remove the Close window option
 
I am writing a personal program and it has a password for it. I disabled the exit button in the top right corner but someone can still close it by right clicki...
[2 replies] Last: OK I looked through all those links and I did this awhile back and for... (by Forseth11)
Inputting multiple lines and outputting them together
 
I'm having trouble with my output. The output is correct, but it outputs each line seperately and I can't figure out how to have each line input as many times a...
[1 reply] : Not sure, but I think the first example of "output" you give is from a... (by mik2718)
So i'm toying around making calculators
 
Well, downloaded Visual Studio Express and started toying around making calculators, such as this simple one, that calculates the area of a circle after having ...
[3 replies] Last: Well there's the problem. Final code is functional for those who want ... (by Terje Gundersen)
Which Editors/Compilers?
 
I'm returning to programming after a 20 year break of doing other things. I would like to get into C++ in a big way and would like to know of what you would rec...
[5 replies] Last: With C++ you can make either a DOS window, or regular window. You will... (by lmsmi1)
help with basic program
 
I'm new to c++ and I'm learning the basics. I've made the following program but there is a logic error somewhere but I don't know where. its probably something ...
[5 replies] Last: http://elvis.rowan.edu/~kunkle/24Jan03-Page4.htm You can follow whate... (by georgep)
Pointing to a member function by it's address
 
The title pretty much sums up the question. Help? :(
[11 replies] Last: This is why I was interested in seeing the tutorial you were followin... (by closed account DGvMDjzh)
plotting sine waves
 
my question is to Create a program to add sines and cosines of frequencies and plot them visually. Any idea as to how this question should be done . help is...
[16 replies] Last: I haven't tested it (I don't have Magick++ installed). But I think th... (by Stewbond)
Synchronization of threads in Linux
 
Hello I am trying to write a program to process images. The aim is to process different parts of an image at the same time. So i am using multithreading. Let...
[2 replies] Last: Thanks a lot. you solved my problem with 2 words! cheers (by kenter13)
How to resolve this error?
 
Greetings everybody.... Am an beginner in c++.am doing my mini project in c++. My mini project is SIMPLE BOOKSHOP CODING. I have done my own coding but while...
[2 replies] Last: Thank you for resolving the error.can you please tell the reason for t... (by reeehman)
operator in C++
 
why we can not overload these operators..? 1-> :: 2-> . 3-> .* 4->?: is there any reason behind this?
[6 replies] Last: Working on names mean they work with the names of functions and member... (by Aceix)
Output Query
 
When i run this program #include <iostream> #include <string> using namespace std; int main() { void* array ; cout << "Enter the array elements:" <<e...
[1 reply] : changing void* array ; to int array ; must solve your problem!... (by Aceix)
by Aceix
Misunderstanding in some if statements...
 
What does this expression mean? IDrawable *pDrawable = CreateTriangleShape(); if (pDrawable) { pDrawable->Draw(); }
[6 replies] Last: @Peter87 Yeah I know that one. Thanks! (by Aceix)
Reading string line and double from a text file
 
Hi all, Can someone please teach me how to read file containing a menu item name and its price in double per line. the sample data is given below. Bacon and ...
[2 replies] Last: Ok ill give it a try and let u know thanks for the links and suggestio... (by vichu8888)
How do I extract first letter of the second word in a string?
 
I'm trying to extract the first letter of the second word. Say the string is: string UserInput = a b; I get a from UserInput , but not b from UserInput ...
[2 replies] Last: To extract the first letter of the second word of a string you have to... (by vlad from moscow)
operator <() function
 
/* Title : Lab Task 4 Question 3 Author : Lim Boon Jye Description : Operator Overloading Date : 13 September 2012 */ #include <iostream> #include <string>...
[no replies]
by wohtp
Good practice for seeding rand()?
 
We all know how rand() works. Seed it once, and it produces a string of pseudo-random numbers. If my program needs a couple thousand random inputs, can I ...
[1 reply] : The only problem I can think of is if you generate more numbers than r... (by Peter87)
C++ statements
 
Write C++ statements that accomplish each of the following: a. Declare and initialize int variables x to 25 and y to 18. b. Declare and initialize an int v...
[3 replies] Last: Hey, I'm happy that I can do...most of that! :) (by closed account 4SyAqMoL)
overloaded operator
 
In the c++ object oriented by joyce farrell 4th edition . a Question called us to create Jobbid.cpp which want 1.Data fields associated with the bid n...
[no replies]
by leoo
qboolean == integer?
 
So I'm getting a number of a qboolean, which works fine: g_Engine.Con_Printf("%d\n", GetPlayerUniqueID); // Print out my number / ID. Then I get the number...
[14 replies] Last: Okay so it looks like it's not working then. (by leoo)
September 2012 Pages: 1... 3637383940... 62
  Archived months: [aug2012] [oct2012]

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