General C++ Programming - October 2012 (Page 27)

Ascii to binary
 
Hey guys, I am trying to do a simple program where I ask the user how many bits they want to be repr...
[3 replies] Last: Why is it even possible to delete the opening post ? I guess some peop... (by closed account o1vk4iN6)
can not run sfc.exe in c++
 
hi I want to run sfc.exe command in c++. I use this code: /* Run Command with user permission *...
[4 replies] Last: I found the answer myself: I created a project that compiled by 32bit ... (by Mohammad Nazari)
by Splux
error LNK2019... x4...
 
'elo... So... I've been trying to solve these linker errors for a couple of days now, I've googl...
[6 replies] Last: Your error smells a lot like a linking problem I have had in the past.... (by doug4)
by Mats
Appropriate Library For Card Game
 
I've been writing an AI to play a card game, but the interface is just ascii. What would you recomme...
[1 reply] : Look up SFML and SDL. (by LB)
Multithreading conceptual question
 
Hi, I want to know that can multiple threads be processed simultaneously (simultaneously, as in comp...
[1 reply] : Each CPU, or, to be more precise, each execution unit (an Intel Core i... (by Cubbi)
C++ Video: C++ 11 in 20 Minutes
 
20 minutes video that helps you get started with the latest C++ 11 standard. Part I: http://www....
[no replies]
Urgent need help with1+2!/(x-2)-3!/(x-3)+4!/(x-4) - … +/- n!/(x-n)
 
Write a simple program to prompt the user to key in x and n value to calculate the result for the fo...
[1 reply] : Urgent need question not psychic. (by Moschops)
Functions - area and perimeter
 
I am writing a program to call the functions area and perimeter. This is what I have written but am ...
[5 replies] Last: Thank you everyone. Sometimes you look at it for so long and your blur... (by Natalyias77)
by sabi20
Reversing the elements of an array
 
using namespace std; int main() { int a = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100}; ...
[3 replies] Last: It is enough to write one line.:) std::reverse( std::begin( a ), std... (by vlad from moscow)
Strip Non-Alpha Characters from Both Ends of String, Leave Non-Alpha Characters Inside String Alone
 
I am trying to write a program that strips non-alpha characters from both sides of a string, but lea...
[4 replies] Last: @someone2 The name of your function confuses users. Instead of nonA... (by vlad from moscow)
by lmd141
Unhandled exception
 
Hi there. I am currently trying to set up a coordinate system for a program I am in the process of c...
[3 replies] Last: Yes. You will have to change N to whatever size it is you want (looks ... (by Peter87)
Backgammon Board Game
 
Hi everyone, I've just signed up so new here :-) I'm currently a first year engineering studen...
[7 replies] Last: Hi Peter87, Thanks for your help so far - greatly appreciated. It's ... (by Bevan Galvin)
How to check for derived classes?
 
Hello All, I have a base class and in a project I have some other classes which are derived from ...
[3 replies] Last: http://www.cplusplus.com/reference/std/type_traits/is_base_of/ (by morando)
Help need to sort string
 
how do i sort a string without using the void command just the basics im just a beginner in programm...
[1 reply] : What do you mean by "sort a string" ? Do you want to sort multiple str... (by AleaIactaEst)
by Hambo
error: string subscript out of range!!
 
Can someone please help me with this coding? After I press debug it executes the program but then an...
[7 replies] Last: You should also consider taking advantage of the toupper or tolower fu... (by IceThatJaw)
print vector function with an iterator going too far
 
So this here function works perfectly except it is going one past and prints jibberish into my final...
[4 replies] Last: Oh, naturally! I totally get it now, just didn't see it before (by dockleryxk)
file input and output
 
Can someone help me i am trying to create a program where it reads the text file from a user and ope...
[no replies]
error code c1083
 
can someone tell me what to use instead of include stdafx.h, when l build it gives me error c1083 sa...
[12 replies] Last: #include "stdafx.h" #include <iostream> #include <cstring> #include ... (by noranata)
Help please!
 
What?? Someone please help me out. I can't grasp any of this stuff. I know what the program shoul...
[6 replies] Last: aaronfue, the code you posted is the exact opposite of you description... (by IceThatJaw)
cpdflib library
 
Hi Guys! Wondering why I am getting these linking errors when I compile my code? HEADER File ...
[6 replies] Last: Hi Guys, the win32pdf.h is not affected by EXPORT_IMPORT? Yes, that... (by tenpoundbear)
October 2012 Pages: 1... 2526272829... 50
  Archived months: [sep2012] [nov2012]

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