Beginners - June 2013 (Page 38)

by Leozy
Windows Forms, Help!
 
This doesnt work? It's windows forms, do you have any suggestions? for (int i=0; i<5;i++) { lblWord->Text+="_ "; } ...
[3 replies] Last: Objects of type System.String are not mutable. (by vlad from moscow)
by will93
Circolar double linked List
 
Hi, I wrote this code with Deitel&Deitel near me and other examples I found on the web, but It doesnt work. Im quite sure that the first problem is from destruc...
[3 replies] Last: if((firstPtr==lastPtr)==0) vs if(firstPtr==0 && lastPtr==0) The f... (by cire)
Right Justified Triangle
 
Does anyone know how to create a right-justified triangle in C++?
[3 replies] Last: See setw http://www.cplusplus.com/reference/iomanip/setw/ Note that ... (by andywestken)
by jsch
Help Please, functions program
 
Here is the specification of the program: CS 1410 Object Oriented Programming using C++ Summer Semester...
[1 reply] : Your prototype for DisplayCur doesn't match your implementation. P... (by MrHutch)
by Noobs
Help me Plz, :(
 
I'm very new for programming i want to know that how i can make a function for receive the the name of students.i'm already stuck because when i use that it's ...
[4 replies] Last: It looks a bit strange to see a "student" class which has an array of ... (by Chervil)
by szpt9m
alternative for getline
 
Hi, Need an alternative to getline to read the text file and copy each line into a vector.. right now i am using this code but the obj file which i am usi...
[9 replies] Last: well, this inpFile >> temp; reads all characters until a white spa... (by coder777)
by TToc2u
Access Violation (seg fault) at NULL check. PLEASE HELP!
 
I am working on Binary Search Trees for a class and I am getting a Seg fault when I check to see if the tree (root) is NULL. I don't understand why it cant get ...
[5 replies] Last: got it you were right. I didn't create a "tree" first. (by TToc2u)
Writing to text fields
 
How do you create a C++ program that writes into text fields, for example: A program that when it runs writes an already preset string to a textfield outside of...
[4 replies] Last: Fixed thanks (by Code Apperentice)
Simulating Mouse Movements
 
I want to add to my Text Writing program (Thanks to MiiNiPaa for quick reply) and I was wondering how to simulate mouse movements and mouse functions (like clic...
[no replies]
by will93
Linked List with objects
 
Hi, i got problems with linked lists with objects. I created the linked list with data node of integers and it works without any problems, but now that i try it...
[10 replies] Last: I have to work with P reference to avoid this, right? Yes, consider u... (by coder777)
Structs?
 
Can someone please explain to me how I can integrate structs into my code? It'll make it much smaller because I don't like it being 200+ lines of code. What my ...
[4 replies] Last: Well you finished the struct 50 %. structs largest_product_info { ... (by giblit)
by giblit
Euler Project 3 *For Practice*
 
Okay I feel like a really big noob I am trying to solve this problem by factoring like this 100 /\ 50 2 /\ 25 2 /\ 5 5 But the problem i...
[16 replies] Last: oh it's okay I did that sieve method and it ran in .2 seconds and numb... (by giblit)
by Daleth
Initialization List order
 
Is there any particular consequence to initializing member variables in a different order than they were declared? My compiler warns me of this every time this ...
[1 reply] : Members are initialized in the order they are declared. Writing initia... (by keskiverto)
by jsch
Function and Structures help!
 
Hello, This is an example that I want to learn about functions and structures: In the heydey of the British empire, Great Britain used a monetary system...
[2 replies] Last: ^As a clarifying note to you jsch , Daleth's code verbally described ... (by ENIGMAx)
Explanation needed
 
so i exploring the documentation and i tackle something that very bother me when i input in this program a character constant a or any.. i dont get an error.. ...
[2 replies] Last: tnx for the explanation zhuge. (by Rakanoth)
When to use pointers?
 
I've searched and I didn't find a clear answers. All I can imagine are to use pointers only if you want the data to be deleted (free the memory) after it was us...
[2 replies] Last: They are also useful for passing classes and structs as parameters. Sa... (by Daleth)
What are the differences
 
class Idiot { public: Idiot(); ~Idiot(); private: unsigned short int level; }; Idiot::Idiot() { level = 99; } ...
[4 replies] Last: Example 1: Everything is on the stack, i.e. there is no additional mem... (by Daleth)
How do I disable a function I don't want to use?
 
How do I not use a function I don't want to use so I can test the one I want without having to go through all of them? I was thinking I could just take it out o...
[4 replies] Last: Try initializing INWIN::x in the constructor. //INWIN constructor; n... (by Daleth)
Adding to another class's vector
 
I'm trying to make a blackjack program where I have a player class and dealer class, and I want the dealer to add a card to the player class's hand. The dealer ...
[3 replies] Last: When you call dealToPlayer() , the dealer draws a card which is then ... (by xismn)
.hpp?
 
Hello guys. I'm starting with cpp and i have a doubt referred at the .hpp files. I have maked a program with a main file in a .cpp and all the other classes in ...
[3 replies] Last: Really good article! Thanks again, but i still with a doubt... why sho... (by rhennig)
June 2013 Pages: 1... 3637383940... 49
  Archived months: [may2013] [jul2013]

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