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+="_ "; } ...
Jun 7, 2013 at 5:04pm
[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...
Jun 7, 2013 at 4:39pm
[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++?
Jun 7, 2013 at 3:26pm
[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...
Jun 7, 2013 at 2:05pm
[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 ...
Jun 7, 2013 at 1:23pm
[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...
Jun 7, 2013 at 10:05am
[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 ...
Jun 7, 2013 at 10:01am
[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...
Jun 7, 2013 at 9:44am
[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...
Jun 7, 2013 at 9:44am
[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...
Jun 7, 2013 at 8:56am
[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 ...
Jun 7, 2013 at 6:52am
[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...
Jun 7, 2013 at 6:47am
[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 ...
Jun 7, 2013 at 6:44am
[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...
Jun 7, 2013 at 6:25am
[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.. ...
Jun 7, 2013 at 6:17am
[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...
Jun 7, 2013 at 4:54am
[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; } ...
Jun 7, 2013 at 4:44am
[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...
Jun 7, 2013 at 4:37am
[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 ...
Jun 7, 2013 at 2:36am
[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 ...
Jun 7, 2013 at 12:36am
[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.
Registered users can post in this forum.