General C++ Programming - October 2015 (Page 20)

matrix operation not working!!!
 
Please help, this program is meant to create two matrices and gives the user the choice to chose the operation they want to use to make the new matrix. the ...
[4 replies] Last: thank you so much i am so sorry i forgot to say thanks and mark this ... (by isaacthebro)
by pieomy
C++ Can someone solve
 
##Chapter four 4. The following program contains error. Correct them so that the program will run and output w = 21 #include <iostream> using namespace s...
[7 replies] Last: @helios - no defence required (by closed account 48T7M4Gy)
by LB
What's the point of boost::asio::async_write?
 
So, I'm learning Boost.ASIO and I thought that, like any high level networking library, it would be able to queue messages for me. boost::asio::async_write lo...
[2 replies] Last: Ah, I should stop getting ahead of myself. Thanks, JLBorges! (by LB)
Issue running code in Visual Studio
 
Hi, I have written part of a program for an assignment for a class, i wrote it in XCode on a desktop mac, but needed to work on it on a laptop, so i created a ...
[5 replies] Last: VS2013 debug and release 32bit < 20 secs VS2010 debug and release 32bi... (by Jaybob66)
Setting up function about array.
 
Hello. I am new to c programming. I have this assignment that is really hard for me to figure out what to start with and what to do with it. "Larger Than n ...
[1 reply] : void fn(int* arr, int size, int n){ //write code here } Now,... (by TarikNeaj)
EXCEPTION_ACCESS_VIOLATION in Microsoft IIS
 
I have an web application written in C++ deployed on Microsoft IIS 6.0. As part of request processing, it connects to oracle database. However recently every 7-...
[2 replies] Last: It's that @#$*&! line 809 again !!!! (by closed account 48T7M4Gy)
by Ozzy69
Need help with my program related to the string
 
Hi, how reverse strings? For example: "Esse eh um programa simples" "etse amargorp he selpmis" Look my code: #include <stdlib.h> int main() { char vet ...
[2 replies] Last: 7:35: error: 'printf' was not declared in this scope 8:13: error: 'g... (by closed account 48T7M4Gy)
by Elyril
Prime numbers outputting '1'
 
I'm trying to output prime numbers in an user inputted range, but with testing, when I input 1 and 10, it'll show all the prime numbers, but it will also input ...
[9 replies] Last: https://primes.utm.edu/notes/faq/one.html (by closed account 48T7M4Gy)
hi
 
hello, can anyone please help me out with a source code in c++ which accepts names and ages of 10 people?
[2 replies] Last: Hi @OP, to answer your question: yes. Yes we can. http://www.cplusplu... (by YFGHNG)
Two Homework assignments need for loops, yet...
 
Hello there! I have two homework assignments that require me to use for loops for algorithms, I'm assuming. For the first assignment, I have to make an hour...
[5 replies] Last: I will not do your assignment for you, however I will give you a head ... (by Outlaw782)
Need Help with my program
 
When i print out the info the user inputs it gives me garbage. when i print out the name it comes out blank and the grades are bunch of random numbers as well ...
[3 replies] Last: To expand on ne555 's response, void studentInfo(Student person) ... (by AbstractionAnon)
How efficient is checking x>k?
 
In what order in terms of speed (possibly some at equal speed) will the following comparisons run (in if statements): a) x>k b) x<k (if k is huge, will this be...
[19 replies] Last: Well, if k is the second lowest value of it type, it can be done as x ... (by helios)
by bm2112
"Class" does not name a type error
 
I am creating a templated ArrayList class and I have the functions written but I cannot get it to compile. My arraylist.h file includes my arraylist.hpp right b...
[3 replies] Last: As the others have said, there's not enough here to compile. We need y... (by AbstractionAnon)
Getting Adress of variable in another process
 
hello i can simply handle process by using HANDLE hProcess = OpenProcess(stuffhere); how can i basicly go throught all the adresses in the process and find the...
[3 replies] Last: Windows program's memory location changes between executions, you'll h... (by wizebin)
by plexus
Pronunciation of data types
 
I recently heard Brian Kernighan pronounce the type char as if you would say the word "character" but stop after the first 'r', like 'care'. I'm german and...
[12 replies] Last: > What about networking code and binary portability? Most RFCs use th... (by JLBorges)
linked list within another linked list
 
I want to create a linked list of musical genres where each node is one genre of music (i.e. reggae, classical, rock, etc.). Within each node, I want to have an...
[4 replies] Last: Okay, well thank you for the help. I think I have enough information t... (by chmstry)
by new1
file modification in c / c++
 
Hello , i want to modify the file contents using C++ here is the below sample prog. #include <stdio.h> #include <fstream> #include <string.h> #include <ios...
[2 replies] Last: yeah i got it , i just misplaced my input text file i had a doubt , ... (by new1)
Help with Airplane Reservation Project
 
Hello everyone, I'm currently working a project for class and I am stuck. I am a complete newbie when it comes to programming and I am trying my best, so if...
[1 reply] : Duplicated Post. http://www.cplusplus.com/forum/beginner/175554/ (by chicofeo)
cout.rdbuf() and printf()
 
I assigned a char buffer to cout in order to speed things up. And as expected it was extremely efficient, iterating all numbers from 0 up to short unsigned uppe...
[8 replies] Last: Ah, you are right. I need to fix that too. Behavior of different calls... (by MiiNiPaa)
Help with implementing 3 functions for a problem that can be solved with just 1
 
Hi all, I'm new to the forum! I was wondering if someone could point me out with the logic my code. I essentially have to display the multiples of 79 starting f...
[2 replies] Last: Ericool : Do not suggest non-standard functions when there is a perfe... (by MiiNiPaa)
October 2015 Pages: 1... 1819202122... 27
  Archived months: [sep2015] [nov2015]

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