Beginners - April 2009 (Page 26)

rand()
 
Sorry if this is being ignorant but why has the rand() function not been changed? It's clearly not s...
[5 replies] Last: Let's just say it will be a while because even once its released it wi... (by jsmith)
by omk
deleting a pointer crashes the program.
 
Hi, Im having some trouble with deleting pointers. The pointer which Im having trouble with is the ...
[3 replies] Last: ahhhh.... doh. Well, now I learned that! :) (by omk)
by Kanner
Initializing pointer location with a constant
 
I am creating a program for a DSP processor. I have a bunch of static addresses and registers which...
[4 replies] Last: Thanks Duaos, that was it. (by Kanner)
Restarting computer
 
I've been learning c++ since september and all ive been doing is writing dumb programs that calculat...
[1 reply] : You may look for info at MSDN: http://msdn.microsoft.com/en-us/librar... (by Bazzy)
by dkaip
I just try to copy 2 wide chars to new string
 
I work on code blocks, the file is in utf8. When runs i take the problem. Program received signal ...
[1 reply] : You are copying to an uninitialized pointer (s3). (by jsmith)
A problem
 
#include <iostream> #include <string> using namespace std; class Dates { public: Dates(); v...
[3 replies] Last: private: string str ; and Dates::Dates() { str =... (by pet)
by Alecia
Assistance in writing program
 
Is there a way to get assistance from other members in writing a program that deals with stock contr...
[13 replies] Last: Thats what you've asked it to do. if (ans=='y') will do the blocks t... (by Umz)
I can not write else if sentence in C programs
 
Hi all, I have encountered an problem that doubt me a lot, the problem is what you see below: ...
[2 replies] Last: hi Duoas, you are right, and now the programs goes well, Thank U very ... (by danlley)
The Switch Statement
 
hi, im tryin to get a swtich statement equivalent for the following: if (letGrad == 'A') co...
[3 replies] Last: Thanks for your responses. My code was kinda lousy to start off with (... (by jayray23)
by sobi
Sequentially searching arrays in C
 
Hello,I posted a topic on this earlier.Got some tips that helped but need some more assistance.The p...
[1 reply] : Your random number generation is a hair off. I slapped the code tog... (by eker676)
by jzackt
names will not switch using bubble sort
 
Im trying to rank a class from least to greatest by average, but Im trying to switch the names along...
[2 replies] Last: yea it works with numbers but i dont see why it cant work with strings... (by jzackt)
What is the code to press enter?
 
I'm writing a program and I want the input to automatically press enter after the keystroke. What i...
[5 replies] Last: http://www.gnu.org/software/libtool/manual/libc/Buffering-Concepts.htm... (by Duthomhas)
by Cdawg
Problem with NOT using an array
 
I'm not allowed to use an array for this code but I can't figure out how not to. I need the followi...
[3 replies] Last: What exactly are you expected to do? If you need the user to input num... (by Gumbercules)
Simple guessing game, or a mistake?
 
I'm really new to programming. A matter of fact, I started today. My friend made a game like this in...
[7 replies] Last: Remove this: #define NEWLINE = \n It is neither necessary nor ... (by seymore15074)
Movies: i am stuck not sure what to do
 
The program runs but i am stuck on the last part and this is what i am trying to do Sample Input ...
[8 replies] Last: i am trying to write a program that continues to accept a movie name (... (by webbywebb)
Command Line Calculator
 
Hi everyone, i just wanted some advice as to solve my assignment. i want to write command line ca...
[4 replies] Last: http://en.wikipedia.org/wiki/Reverse_Polish_notation (by eker676)
Services problem
 
Hi every one I wanted to try and make a service. But when I open the service template in visual s...
[1 reply] : hi well after a long surch i found that this works... http://w... (by Precious roy)
by onnela
Too many parameters error
 
Hello, I am trying to compile my code but I found the next error: too many parameters error. I c...
[6 replies] Last: what is the error meesage? right now the only thing i can think of tha... (by jaydr)
by wretch
static int vs. static function
 
There's something about static members I don't understand. Why can static members like int or doubl...
[4 replies] Last: Why is this a problem, anyway? I've seen several posts (and have made... (by wretch)
by muddi
How to determine the time taken for any function?
 
Hello, i have my project code, and i need to find out the time for the functions used in it, how do ...
[2 replies] Last: Thanks, that was useful. But still it shows a zero "0". my code ru... (by muddi)
April 2009 Pages: 1... 2425262728
  Archived months: [mar2009] [may2009]

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