Beginners - October 2009 (Page 9)

by msaid
How to generate a random array of integers subject to a certain constraint
 
I am writing a program that asks the user to enter an integer N and then generates a random array of integers of size 2^N, each of whose entries range from 1 to...
[no replies]
output printing as hexadecmal... XD
 
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex. Im not positive but i think i might have to use PBV or PBR?...
[1 reply] : Use [co de] tags instead of [qu oute] tags. Also, use int main... (by firedraco)
Any meaningful project for a new C++ programmer?
 
I want to do some meaningful program, so I can help myself to learn Assume I know the following # Chapter 1: C++ Fundamentals This module will introduce ...
[1 reply] : http://www.reddit.com/r/carlhprogramming/ (by Mythios)
Lining up columns nicely.
 
Hello everyone, I'm having problems with making columns line up properly. Here is my code: #include <iostream> #include <iomanip> using namespace...
[1 reply] : http://cprogramming.com/tutorial/iomanip.html (by wachtn)
read integers that returns a negative or prints the average
 
Im trying to finish this homework assignment by tommarow afternoon and I keep getting stuck. Write a Function that reads integers from the keyboard. If any are...
[2 replies] Last: the indention only messed up when posting my source code and i dont se... (by compdesign89)
i'm going to learn more things see the questions below
 
what level would game designing software expirence be? dose typing codes make words and build programs? dose this site have its own book on c+? whats the hard...
[1 reply] : Game designing software? As in have we made like a map editor to edit ... (by Mythios)
where can i find a download for c plus?
 
where can i find a download for c plus and what program should i build to start me out like something baisc and easy?
[7 replies] Last: http://www.microsoft.com/exPress/download/ (by Mythios)
Stuck on Homework again....errr
 
NVM< I figured this out..
[1 reply] : You know you can delete posts :\ (by Fsmv)
function not returning the correct value
 
I have a program that needs to return a value from a function. I have an output statement inside the function just to see what the output is, and it sems to wor...
[2 replies] Last: Wow. Ok, I took a look at the code, and yes, I was addressing the wron... (by iceregent)
Check Digits and extracting digits
 
I think I can figure out the code for this but I am having a very hard time getting past the first step. Any suggestions are greatly appreciated. What I nee...
[2 replies] Last: thanks helios (by IamStupid)
dose c plus cost alot and is it easy to work with? (1,2)
 
I'd like to look into c plus more but i'd like to know if it cost alot and is easy to work with,and i would like to know how to go about building my own game de...
[27 replies] Last: There are MANY different keyboard layouts. Most countries have their o... (by chrisname)
problem in program for counting no of chars using pointers
 
Hi all, I was trying to make a program which counts number of chars in a string using concpt of pointers. Following is the code: #include<stdio.h> #include<...
[3 replies] Last: What's wrong with str.length() (by DrChill)
constructor ????
 
i have written this program and made 3 constructors in the class and i want to call them in the main and i cant can any one help me and tell me how could i call...
[12 replies] Last: Define "work". What do you expect it to do? It simply zero initializ... (by kempofighter)
Why will this program not run if the variables are not global?
 
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understand something. I have this code here that is basically a prog...
[6 replies] Last: Hmm, that's interesting. Perhaps it's because I'm using a different co... (by Amelion)
by zsukal
how to get sn motherboard
 
Hello. I want to get serial number motherboard, cpu and else hardware. Can You show me samples. I edit post ;-)
[1 reply] : What is a methboard? (by wachtn)
by Giulio
A small array is too big??
 
Hi everybody, I apologize if the question is really easy... but I cannot figure out why I get an error message by my operating system (not the compiler, the ...
[8 replies] Last: http://www.cplusplus.com/doc/tutorial/variables/ scroll down to "Fu... (by wachtn)
by sato
[Linker error] undefined reference to `cube(int*, int)' in Dev C++
 
Hi I was trying to run a code below and I get the error message as above. I tried on Visual C++ - no luck. Any hints? Thanks // Change the contents o...
[3 replies] Last: No, and besides, even if it were, it would not be part of iostream, th... (by jsmith)
by motd
Big O & time complexity ????????????
 
Salutations................. can you help me how to calculate the Big O & time complexity for any algorithm and c++ program please???????????
[4 replies] Last: Neither of those links are particularly useful to someone wanting to k... (by jsmith)
by reync
The repetition structure: the while statement not working
 
New programming student, have assignment as follows: A restaurant has 4 lunch combos for customers to choose: Combo A : Fried chicken with slaw [price: 4.2...
[1 reply] : #include <iostream> #include <ctype.h> using std::cout; using ... (by screw)
Bit manipulation program with binary operations
 
My homework is to create a program to scan in and add binary numbers and print them like so Enter a binary number: 1 sum = 1 decimal 1 hex and 00000001...
[2 replies] Last: #include "stdio.h" #include <math.h> #include <iostream> #include ... (by screw)
October 2009 Pages: 1... 7891011... 25
  Archived months: [sep2009] [nov2009]

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