General C++ Programming - February 2013 (Page 5)

by ASQ19
I've nested loops and would like to separate them
 
Hi I've a loop inside another loop and would like to separate them into two different loops and keep...
[2 replies] Last: My friend I made the modification with the help of my mate The modifi... (by ASQ19)
Files Reading from .pdf
 
Hi, How do I read a .pdf file using C++? When I try to open it using myfile.open ("example.pdf"); ...
[3 replies] Last: Read general article http://en.wikipedia.org/wiki/Portable_Document_Fo... (by tfityo)
Error in the main to call the function !
 
i get this erorr today when im trying to use the inhertance with class , and I was surprised by this...
[9 replies] Last: This is the error: error: ‘::main’ must return ‘int’ As you ca... (by LB)
reading in .dat files
 
I need to read in two .dat files contents of file 1 graham crackers; 2 squares 59 milk chocola...
[2 replies] Last: this is the code i have #include <iostream> #include <fstream> #incl... (by cookimnstr123)
Problem with setting up blank window.
 
I am working on "Beginning Directx11 Game Programming" and the first thing i am supposed to do is ty...
[6 replies] Last: ok i have actually got it to start up with the additional code into th... (by Willmannn)
Help with errors! Please Help Me!
 
Hi im making this blank window in microsoft visual studios 2012. (c++) Here is the code: #include ...
[7 replies] Last: I have read on and found a solution to the problem in the book... It w... (by Willmannn)
Hex phrasing
 
I have this text of hex values(32hex digit): 00112233445566778899aabbccddeeff and i want to trans...
[no replies]
Help With String Parsing
 
I really have no idea why it's not working, but I'm trying to convert a double into a string to coun...
[no replies]
by vacing
Modify a member by static_cast cause segmentation fault
 
I have the next program: if I comment the assignation mNum=num; or mCh=ch the segmentation fault do...
[2 replies] Last: You pass the value 2 to the One constructor when it expects 0 or 1. (by Peter87)
determining the winner?
 
Everything seems to be working in my dice pig console game except for determining the winner between...
[4 replies] Last: Yelnatz is right - if continuePlay is equal to 1 at the start of the l... (by MikeyBoy)
increase sizes of the queue in a vector of queues and find shortest queue
 
i have a paradigm in a loop of queues of a vector,if a condition is true,increase sizes of the queue...
[12 replies] Last: @coder777 Thanks alot for your interaction. (by Rahul kumar S)
Sum of series
 
Why isnt this prgram working? Need help fast! Its urgent! #include<iostream.h> #include<conio.h>...
[15 replies] Last: You didn't listen to him... (by yelnatz)
Terminal/Compile problem
 
Hi folks, I hope you guys can help me out on this issue. I've designed a program in c++ that uses...
[no replies]
Header file link-time error mystery
 
I am reading "Programming Principles and Practice Using C++" by Bjarne Stroustrup. I haven't paid th...
[2 replies] Last: Thanks! Everything works perfectly now! I thought it creates a chain a... (by benbalach)
help me out with a code for this problem.
 
A certain organization insures its employees according to the following criteria: i. Male and 18 ...
[2 replies] Last: im new in this... i have no idea what to do iv just started and the l... (by popsticx)
non-standard array access
 
Hi, I am working on a problem with a constraint for accessing arrays. I cannot use the following...
[8 replies] Last: [quote=LB]I can understand why the third works, but why doesn't the se... (by coder777)
by AMB
HELP PLEASE
 
Write a program that reads data from a file (use the attached data file). These data are a student ...
[3 replies] Last: Best of luck... (by gaurya95)
simultaneously assign value to struct members
 
Hi, If I have a struct of some vector members, like struct { vector<double> a; vector<doubl...
[6 replies] Last: #include <iostream> #include <functional> #include <vector> struct ... (by vlad from moscow)
Getting Array error
 
I have been working on a code for a week now and keep getting the same error everytime. The code is ...
[19 replies] Last: I already told you how to get x and y above. And of course cout<<... (by yelnatz)
C++ Array help!!!!!
 
ok my program reads data from a txt file and it displays the test scores and the sum of the scores, ...
[17 replies] Last: thank you so much!!!! (by ezaz12121)
February 2013 Pages: 1... 34567... 43
  Archived months: [jan2013] [mar2013]

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