Beginners - May 2010 (Page 17)

by Morph
Supportive languages for c/c++
 
I want to know which languages I should learn after or with C/C++ to support
[1 reply] : http://cplusplus.com/forum/articles/1295/ (by moorecm)
DYNAMIC PROGRAMMING
 
Given a list of N coins, their values (V1, V2, ... , VN), and the total sum S. Find the minimum number of coins the sum of which is S (we can use as many coins ...
[1 reply] : Arrays must be declared with a constant size. In your code you are ass... (by Archaic)
Rainfall Statistics
 
Our assignment is to create a program that a) allows a user to enter a positive number (type double) into an array, one for each month b) calculates total, lowe...
[9 replies] Last: After awhile you begin to recognize errors and what could possibly be ... (by Archaic)
2s Compliment
 
here is my situation. I am pretty sure 2s compliment is used to store values in computes, and specifically in C++. and that ranges for C++ data types are like...
[12 replies] Last: @Disch Yeap, totally agree with you. Thanx (by rajroshi)
Pokemon game Programmer
 
Morning, C++ Forums!: I Have had a recent post on Dev C++. And learnt that you need a cretin language for pokemon programming for the Nintendo DS. I Looked u...
[2 replies] Last: For (official) DS Games, C and/or C++ are used. There are libraries, h... (by Gio)
by wasi17
give solution of this problem
 
this code generate 4-errors when i build this program. please give solution to this problem #include<iostream> using namespace std; class SMember { static...
[1 reply] : #include<iostream> using namespace std; class SMember { pri... (by m4ster r0shi)
by nammae
Why should we use mediate variable?
 
Hi, everyone. My professor said we should use mediate variable when we want to input data to a float type member of a struct variable or an element of 2 dimens...
[no replies]
Passing an array into a function as a parameter
 
How do i write this so i pass an array into into a function additional to main as a parameter. in other words how do i pass the array into a function and ret...
[2 replies] Last: Hi, If we define a function which could operate on Array the proble... (by rajroshi)
Dev C++
 
Good evening, CPP-Forums: Since this I my first post, I might as well introduce myself. My name is Rasheed Saeed. I Am 14 years of age and I know some computer...
[15 replies] Last: Thank you for writing that up for me mate. You have explained a lot ... (by Rasheed Saeed)
Cannot compile the program in Dev C++
 
#include<iostream.h> #include<fstream.h> #include<dos.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<iomanip.h> ...
[12 replies] Last: Yes. But now want o output the listing record in "XXXX.txt" file. (by lucas0384)
Create random variable
 
Hi, I am learning C++. Sure the book examples and programs are fun, but I want to learn the language. In order to learn it I want to figure out how to writ...
[6 replies] Last: [quote=helios]There's nothing wrong with that. There's nothing wr... (by Archaic)
by alkek
simplify functions (1,2)
 
hey guys i have this assignment which I have no clue how to do it so i was wondering if u guys could help with it the question is : Write a C++ progr...
[23 replies] Last: ok that was really generous of u ... o i really appreciate it and ... (by alkek)
Networking
 
Hey guys. Just a quick question or well not that quick. What i generally wanna learn in C++ is networking, generally how it works and how to manipulate it. ...
[1 reply] : I recommend this for windows -> http://www.madwizard.org/programming/t... (by m4ster r0shi)
by ZondaR
QuickSort
 
Solved
[2 replies] Last: Thanks for the find. I totally missed that part when I was editing So... (by ZondaR)
HALP!!1 Loading a Vector <struct> x
 
My problem seems simple enough I am saving my vector of structs vector<day> may to a .txt file I cant get a working load fuction I understand I need ...
[9 replies] Last: first let me say thanks again galik! but I have been trying it and i... (by LoctheToker)
Problem making two objects access the same data
 
Hello, I am trying to write a board game, and I am having trouble making two GameTiles access the same Point on the board. I have to set each point with a bo...
[4 replies] Last: Haha, thank you for checking back! :-) This works perfectly, unfort... (by smkdude)
Storing bitsets
 
Hey folks :D Simple question, is possible to store bitsets into a vector? I tried something like: vector <<bitset<50>> vect; but obviously it returned me...
[7 replies] Last: No problem. It kind of makes sense if you think about it. I thou... (by moorecm)
by Topaze
code issue with vectors & passing info
 
Several lines have multiple errors, I built this in Codeblocks & it won't let me just cut and past the whole block of errors from there. I reproduced them here...
[8 replies] Last: fixed compiler errors and thanks again to all (by Topaze)
by luq
Include files in .h file .cpp file or both?
 
I have written a code-snippet which makes use of headers (dohhh). Anyway, I have a class in source.h which has a function that uses sstream. So I thought I had ...
[3 replies] Last: Just be sure not to use precompiled headers, as far as I can tell what... (by elvenspike)
by aachen
function as a variable ?
 
Hello all, I read the following code from C++ book by Eckel. //: CONSTRET.CPP -- Constant return by value // Result cannot be used as an lvalue class ...
[3 replies] Last: Because we're setting the return value of f5() to something. -Albat... (by Albatross)
May 2010 Pages: 1... 1516171819... 33
  Archived months: [apr2010] [jun2010]

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