Beginners - November 2012 (Page 21)

Rainmeter
 
I have heard that the software called rainmeter is programmed using C++... Im only a beginner, so I am not very good at using it but is it possible to program ...
[1 reply] : I know nothing at all about rainmeter. However, a quick look at at the... (by Chervil)
by csnoob
Help on approaching "hearts"(card game) in c++
 
I have recently received a new assignment for my cs course, and I am asked to make a game of "hearts" in c++. So here's the question, the question has provide...
[1 reply] : Read the textbook (Chapter 11 & 14). You first line in .cc should be ... (by dmi)
by alext
Storing objects in an array
 
So I'm trying to make this wheaterprogram where the user can enter information about a city wich stores in an array. BUT i cant get it to work proper so now the...
[9 replies] Last: What is the 30th element in the array named locations? Do you see why... (by alext)
IMPOSSIBLE?
 
I have a phone directory program. I need to display the directory by last name in alphabetical order. I have used an array called tele this array is of the typ...
[4 replies] Last: Thanks dude. And that's pretty funny. It's like my math book. (by jlillie89)
by khal
Pointer Issues
 
I am having issue returning a pointer to a struct. Can some explain what I am doing wrong? I want the search( ) to return a pointer to the matching input. That ...
[4 replies] Last: line 13 of the search function. If recursively called search finds som... (by MiiNiPaa)
How to draw 2D array or raw data to screen?
 
Hi, I am trying to do ray tracing. I need to create a 2D array of pixels, then do the math of ray tracing. After that I need to draw it to screen. What is th...
[1 reply] : Use one of the many existing libraries. I usually point people at CImg... (by Moschops)
Is there any data structure available
 
1. For storing more than 6 decimal places after the decimal point? 2. For storing a number having more than 10^3 digits?
[4 replies] Last: Number one is covered by double or long double. Number two: You could... (by TheIdeasMan)
by alex34
help .. erosion and dilation procedures
 
Can you help me with source code for erosion and dilation procedures. need to open an image (matrix of 0 and 1), to show, to apply pocedurile. thanks in advance...
[1 reply] : http://docs.opencv.org/2.4.2/doc/tutorials/imgproc/erosion_dilatation/... (by mik2718)
by Andym
Misc questions about variables and arrays
 
I've got a couple of questions about storing and retrieving data. Can variables be stored in one function and passed to another? How about passing it to main...
[1 reply] : If your function is declared like this: void MyFunction(bool& MyBool... (by Stewbond)
Maximum Length of Variable Name
 
I just need to the Know the Maximum Length of Variable Name and what will happen if the variable length exceeds
[1 reply] : http://stackoverflow.com/questions/6007568/what-is-max-length-for-an-... (by TheIdeasMan)
for-loop:Did i follow the directions of my assignment?
 
For your program you will modify the Guess Number program from the counter-controlled while loops program in the while Loops Part 1 lab. Use a for loop to allow...
[7 replies] Last: I dont understand why i need to change those lines that you say.What ... (by TheIdeasMan)
What Dumb Little Detail Am I Missing?
 
Hi Guys, I have this class CTrainLine with a struct called ListNode and a ListNode pointer called head. On the contructor, I'm trying to use the new function...
[4 replies] Last: Brilliant! Thanks guys! =] (by jojo212)
by se123
Arrays
 
Hey guys hope you all had a great Thanksgiving. I need some help again. I am writing a program that lets the user enter a number and then it is supposed to con...
[no replies]
by jgush3
Help with poker game
 
I have to make a sort of poker game where 5 random cards are selected. The user can choose to replace whichever cards, and then the program tells them what thei...
[2 replies] Last: That helps alot thanks. And yea I knew I'd have a problem with multipl... (by jgush3)
Cannot find my error?
 
I am trying to write a program that will convert from one base to another and I am running into a problem with it and I have no idea what is happening. The pr...
[12 replies] Last: They do get cast. The error comes from pow(). If you compute somethin... (by toum)
Invalid types for array
 
Hello. I'm trying to compile this program and i have some strange issue that i can't fix. Please help me! #include <iostream> using namespace std; int di...
[3 replies] Last: Thanks a lot. Next stupid mistake. This compiler outputs are really no... (by tobiasz24)
by jgazz
Search txt file for line, then read in everything on that line to variables
 
Hi! I'm writing a POS system (just for fun) and I have the prompt asking the cashier to input their customer number, and it should check the txt file for that ...
[8 replies] Last: Thanks. I understand what you mean now. I think I am going to have to ... (by Hucaru)
!!!PLEASE HELP!!!
 
Write a program that adds the positive odd numbers you enter from the keyboard while ignoring the even numbers, and stops when a negative number or zero are ent...
[4 replies] Last: Stew, I think that code adds the final (bad) number if it's odd. (by Moschops)
What is the error with this code?
 
#include <iostream> using namespace std; void main() { int array ; int temp=0; for (int i=0; i<5; i++) cin>>array ; for (int i=0; i<6; i++) { for (int...
[2 replies] Last: void main() // should be int main() for (int i=0; i<5; i++) ci... (by Catfish2)
by Growl
Primes & arrays! Mistake?
 
NEED TO USE GIVEN OR ELSE FUNCTIONS... Given: Interval of integers [m,n]. Need to use function that recognises primes, need to print all those primenumber p...
[2 replies] Last: when you returned from pirmskaitli function of the array and a,n,b nev... (by Clearner1)
November 2012 Pages: 1... 1920212223... 75
  Archived months: [oct2012] [dec2012]

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