General C++ Programming - December 2015 (Page 13)

Neural networks and AI
 
Hi there! I was wandering if there was anybody who had a basic knowledge on neural networks. I've done some research on google and I haven't found anything that...
[no replies]
Array of 5 vectors?
 
Hey all, hope everyone is good.. For my program, i want to create an array of 5 vectors (and being a vector, i don't know how many elements each vector will ha...
[5 replies] Last: That sorted it, cire :) thanks both of you (by hardwired)
Parsing a file and storing columns as 3-D vector
 
Hi All, I have a file that contains 4 columns and wish to take columns 2,3 and 4 for calculation. N -9.674570 2.215540 -4.211275 HT...
[3 replies] Last: One piece of advice first. Even if you discard everything else I say. ... (by Chervil)
Linked List "Calculator" works?
 
Good morning guys! I have really worked hard on this project and I hope you guys would see what is the problem with it; it is driving me crazy! Everything is d...
[5 replies] Last: Thanks, I just fixed the addition! Can you look at the Minus/subtract... (by AmmmG 01)
Please help me. Inverted pyramid
 
Hello everyone, I am new to C++ and I want to make an inverted pyramid so it follows the form of: 55555 4444 333 22 1 The goal is to make it look like...
[1 reply] : http://www.cplusplus.com/forum/beginner/180976/ (by JayhawkZombie)
expected`}' before '{' token
 
can some one please point out whats wrong with this code? i tried to copy it exactly from this site i'm learning from, but my compiler is telling me something ...
[2 replies] Last: ok, thanks. right in the middle. (by Samuel Onate)
Unable to identify errors
 
When I try to compile this program I get three errors that I cannot identify. Please, help. #include <windows.h> LPCTSTR ClsName = L"BasicApp"; LPCTSTR...
[5 replies] Last: Thank you very much, Thomas. I have already downloaded the Complete Gu... (by tigredevilla)
High Levels of Class Inheritance and Memory Leaks
 
Hey, all. As we all know, I'm one of the newbies around here. I help where I can. I know I've made mistakes, and thank you for correcting them when I make th...
[4 replies] Last: Manual memory management isn't hard, you just have to be clear in your... (by dhayden)
by Sandod
C++ developer
 
1. Write a function that that uses a standard random number generator to compute 100,000 random numbers between 1 and 500,000 and returns the total number of un...
[1 reply] : I think you should read this first. http://www.cplusplus.com/forum/beg... (by Thomas1965)
by lmal
unlucky coding
 
Some work I've been doing at college, im working really hard to become a programmer :D Can you tell me how could i make this code better? Im trying to improv...
[6 replies] Last: @OP you don't have to edit out your code. It's not like the Cheat Poli... (by YFGHNG)
PLEASE HELP!! INTRAVENOUS RATE ASSISTANT !!!
 
If I click number 1 the output should be like this Problem => 1 Enter rate in ml/hr=> 150 Enter tubing’s drop factor (drops/ml)=> 15 The drop rate per minute ...
[1 reply] : void get_rage_drop_factor(float & ml_hr, float & drops_ml) ... (by cire)
Error: Expected Declaration
 
Hi, I'm wondering what's wrong. Here's the code: #include "stdafx.h" #include <iostream> #include <windows.h> #include <ctime> void random(); { d...
[3 replies] Last: Thanks! I know that it's not defined I was just testing something out ... (by Diplomacy466)
Slope Calculator
 
#include <iostream> using namespace std; int main() { int x1; int y1; int x2; int y2; cout<< "\f"; cout<<"This program will calculate the slop...
[4 replies] Last: As far as grouping symbols, use parentheses. float slope = (y2 - y... (by doug4)
what is mean by const after the parameter?
 
int getAge()const{return Age;}
[4 replies] Last: https://msdn.microsoft.com/en-us/library/07x6b05d.aspx int getAge()c... (by closed account 48T7M4Gy)
Jacobi
 
Here is how i do the Jacobi Method: /****************************************************************************** // FUNCION QUE CALCULA LOS AUTOVALORES ...
[no replies]
by a10e29
What happens first
 
Greetings and Salutations! I have this function call: temp = grid->getHex(seekerX--, seekerY++); and the six other variations that search a grid of hexes for ...
[3 replies] Last: No. The postfix operators returns the value that the variables had bef... (by Peter87)
inFile reading help
 
Hello, I always used this site to look for things i did not understand or was trying to figure out at that time. Till today where everything i tried was not wor...
[2 replies] Last: I'm totally confused now. I made over 20 files and I'm still getting t... (by Sefik1337)
Please Need urgent help with my project
 
just start first year uni , not speak good english now finish project in 2 days , please need help widh this . I need to make c++ programme to do 1st - A fu...
[6 replies] Last: Your using string, so it allows any number of characters. If you only... (by SamuelAdams)
by a10e29
this is becoming NULL after for()
 
Greetings and Salutations! I have multiple questions. 1st: [ Hex* canMoveTo ; for (int i = 0; i < sizeof(canMoveTo); i++) { canMoveTo = nullptr; } ...
[2 replies] Last: Good! Thank you. (by a10e29)
Expecting segmentation fault
 
Hi , #include <iostream> using namespace std; int main() { char a ; a = 'a'; // expecting segmentation fault char b ; b = 'b'; // expecting s...
[9 replies] Last: In C there is no bound checking to see if the subscripts used for an a... (by kalki)
December 2015 Pages: 1... 1112131415... 22
  Archived months: [nov2015] [jan2016]

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