Beginners - August 2013 (Page 39)

Cannot get ShellExecute to work
 
Hi guys, I've been trying to open a file from a windows form and I cannot get the ShellExecute to work for me. The code that i am using is... private...
[7 replies] Last: Is it better to use the "myProcess..." choice ... If the shorter for... (by andywestken)
#pragma once
 
What means #pragma once and how is it included with classes?
[4 replies] Last: can you make an example? No, I don't know how to illustrate 'once' ... (by coder777)
C++ insert 2-dimensional array of integer into another 2-dimensional array of integer
 
0 down vote favorite I want to insert 2-dimensional array into another 2-dimensional array- both are integer. The first one is smaller than the second then ...
[3 replies] Last: You can try something like: #include <iostream> #include <vector> u... (by abhishekm71)
windows.h, what if I'm in linux?
 
I just got the code for the bouncing ball program, and I would love to examine and run it, but it, like many other programs I have found, include windows.h, whi...
[5 replies] Last: They do as an end result but react differently to arguments and ultima... (by closed account S6k9GNh0)
why isn't this simple class not working
 
my private members can't be accessed through the functions }
[6 replies] Last: rofl wat (by huike)
by jwat11
Need Help with error C2660 in code.
 
I have been at this program for hours trying to fix error C2660 for this basic program. If anyone can help me out it'd be much appreciated. #include <iostr...
[1 reply] : Here is the right program #include <iostream> #include <cstring> using... (by selectee4all)
by aggsyb
Windows forms, everything inside header file?
 
Hey, I wrote have written quite a few programs in console and I want to start programming Windows Forms, obviously I have alot of working .cpp files but adding ...
[no replies]
Array
 
Write your question here. #include <iostream> using namespace std; int main() { int a = {3, 6, 9, 12, 15, 18, 21, 24}; ...
[3 replies] Last: thanks guys... (by ankushnandan)
Parameters and Default arguments?
 
Just wanted to know why default arguments require you to go right to left. And what are the significances of having default arguments. I mean instead of doing t...
[2 replies] Last: Adding to maeriden's post - your alternative will always return 100, n... (by Branflakes91093)
by Zexd
small question
 
I am just wondering what these operators do? I can't find the answer on google :< I know they are member access operators, but I can't understand what they do....
[7 replies] Last: int *p; a pointer to integer int Testpm::*pmd; a pointer to intege... (by ne555)
Error C2660 (1,2)
 
Hello Everyone, New here and new to C++. When I try to compile my function, I get the error "error C2660: function does not take 6 arguments." No matter what I...
[38 replies] Last: > I had to qualify every member variable with this-> > so the compile... (by ne555)
Simple Arithmetic operations help!
 
I need help with this code, Ive started writing but for some reason my code isn't working, If anyone can help me i would be very much grateful. Thanks The fi...
[1 reply] : On line 18 you've declared 3 ints: int number1, number2, number3; ... (by Codeez)
Can't write/read Strings (objects containing Strings) to/from a binary file !
 
HI Everyone . I created another topic here : http://www.cplusplus.com/forum/beginner/107976/ and I learnt much from it . But now I am facing a new problem . ...
[5 replies] Last: There is no way to mark a class as serializable in C++, sadly. You eit... (by andywestken)
Finding the mean of an array
 
I'm trying to find the mean of an array which the size and numbers are declared by user. I'm getting the error "invalid lvalue in assignment." Any help is appr...
[3 replies] Last: Thanks for the quick response. I was over complicating the issue. I ... (by PoBurly)
Reading Special Words from plain text File
 
We have to code a Hangman game for school but I am stuck on a little problem. I have created a plain text file called wordList.txt in which I have a ID and a Wo...
[8 replies] Last: Big thanks! To not copy everything, I just took your push_back method.... (by Nickel Dare)
Question: Vectors...
 
As I study C++ on my own, I tend to come to many barricades. This is one of them. This code was provided for me in the book I am going through. My main question...
[2 replies] Last: @Cubbi, Short, concise, clear, and to the point! Thanks! -Incline (by InclinedToFall)
Write a C++ program that gives the letter grade for a 5 point quiz..
 
I'm new to C++ and struggling to grasp a lot of the basic concepts. I've been given an assignment to "write a C++ program that gives the letter grade for a 5 po...
[11 replies] Last: Also, you may want to work on the format of your code. It's kind of al... (by InclinedToFall)
typedef meaning
 
hi, I saw in some code examples with some conventions when defining typedef structure // example A typedef struct _NAME_A { int a; int b; } NAME_A /...
[3 replies] Last: There are some rules to type-defining a structure: http://www.cplusplu... (by closed account zb0S216C)
Constractors
 
Hello i starting learning c++ i have some questions about constructors for example: why i can declare classname tpm1;this will create an object with defult co...
[2 replies] Last: thx (by iliya24)
struct data type
 
i am trying to get ahead in the C++ class and i came across with the "struct" instruction and i'm trying to fallow the book example but for some reason after i...
[2 replies] Last: Thanks a lot! struct employeeType { nameType name ; addressType... (by alex6es)
August 2013 Pages: 1... 3738394041... 51
  Archived months: [jul2013] [sep2013]

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