Beginners - April 2011 (Page 44)

Code for slotMachine on VB 2008 pls HELP
 
Can someone give me a code for vb2008 code for a slot machine ????????????? plsss :( :(
[3 replies] Last: Private Sub Command1_Click() MsgBox "no" End Sub (by daveD)
two small questions,please answer!
 
hi, i have a trouble finding a way to clear the screen or open a new page like what we do in c . i thought may be i can use clrscr function ,but it seems that i...
[3 replies] Last: Declare a as a character, like char a; cin >> a; It reads 1 as a = '1'... (by chucthanh)
by Live87
Dont understand this code
 
Hello everyone, Can somebody explain me what this code means? I want to change this code so that i can send 1 Byte to a serial port. Thx // change func...
[1 reply] : Can you please edit your post and add code formatting to the code usin... (by kbw)
Class arrays and pointers
 
Hi guys, I'm a C++ noob and have been out of the programming scene since highschool (was VB back then). I'm doing a unit on C++, and I'm trying my best to get a...
[2 replies] Last: Hey fun2code, thanks for your reply! It was a great help to get me sta... (by OldBeane)
I Want to write a few functions for this program containg file inputs and if/else statements
 
# include <iostream> # include <fstream> # define length 7 # define TransLength 21 using namespace std; class savingsAccount { public: ...
[2 replies] Last: I am Unsure of the return types for the fileinput if i turn the file i... (by jaimesharp)
Needing help to understand code
 
Hi, New to the forum. Would need some help in understanding this line of code which the compiler simply refuse to compile ::cvflann::Matrix<T> m_queries((...
[3 replies] Last: Hi, Need another query help... Has admended accordingly as sugge... (by watertreader)
Help me!!!C++ prime-number
 
Write a program to analyze a product into prime factors: Where are given positive integers; are primes which satisfy . Example input/output might be: I...
[11 replies] Last: thank Albatross and people!!!! I try ....I promise!!! (by tianversion)
by Rave
Concurrent Connections
 
so i made a server-client which supports only one client at a time, now i want to expand it to handlle multiple clients, should i go with threads or processe...
[1 reply] : Ease of programming = threads. (if you don't have any direct client to... (by ultifinitus)
for loops are being ignored
 
My for loops are being ignored. I think I need an if else statement somewhere, but entirely sure. Any ideas? The program is supposed to display something like t...
[14 replies] Last: Yeah I got rid of the curly braces. Not needed. I also got rid of one ... (by Axl Van Damme)
by talt1
What are practical uses of C++
 
Ok this seems like a silly question but I just took a basic c++ programing class. I just don't understand when C++ would be better then using excel. So what a...
[2 replies] Last: I just don't understand when C++ would be better then using excel >... (by firedraco)
Sort Problems
 
so i have this code with a couple of sorts in them, the sorts where working fine up until the end when i work with a list that is already in descending order. f...
[1 reply] : here is the out-put Original data: H 10000 9750 9500 9250 9000 ... (by sorthon123)
can someone help? Function Prototype with array
 
I am just learning c++ and, I am trying to create a function out of the lines that are surrounded by stars. I am at my wits end! Does anyone have a suggestion...
[4 replies] Last: cool i like your name coder777. 777 = God Jesus christ (by ty98)
by ty98
use text files in program!
 
I need to know how to make a program use a text file that the user makes in this command so the user can make Message boxes. int the command MessageBox (N...
[no replies]
Just wondering how you's remember stuff?
 
Hi, i was just wondering if you programmers who are considered advanced remember everything in c++/windows programming, do you's often look back at old work to ...
[14 replies] Last: repet and repet . . . (by ty98)
Program addition help
 
Hey Everyone, I'm quite new to C++ and I'm doing a little assignment right now for school. Basically a program which adds the biggest and middle number when yo...
[4 replies] Last: Your tellin me... Try looking through 700 lines of code for possible c... (by ModShop)
Algorithm problems...
 
I'm trying to get the simple first project from http://www.ai-junkie.com/ga/intro/gat3.html done, and I pretty much have the code done and working - except the ...
[no replies]
Loop question, factorial?
 
Hard to describe this problem, but here goes. I have a 5 element array, let's call it a: and so we have: a , a , a , a , a but then i want to rearran...
[2 replies] Last: See also std::next_permutation() (by jsmith)
Variable Types
 
Another exercise I'm confused about in this C++ book I'm reading.. What would be the correct variable type in which to store the following information? ...
[3 replies] Last: unsigned short int avgRainfallJanuary = 4.46; This is the only part ... (by hanst99)
Literal Constants
 
I am reading a new book to help teach myself C++ (I always learned from toying around with programs and it's been a long time so I would like to learn the corre...
[16 replies] Last: Hi Athar, it was the same on my computer, 39 and 42. That's really fan... (by chucthanh)
explain!
 
No answer .
[12 replies] Last: I think that maybe the trap in the exercise: reading integers and char... (by chucthanh)
April 2011 Pages: 1... 4243444546... 55
  Archived months: [mar2011] [may2011]

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