• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Matrix multiplication
 
Hi people. New to this site, new to c++ so excuse me if i lack the normal decorum. Im writing a p...
[14 replies] Last: Tried your code and I get the same result. Shouldn't make any differen... (by norm b)
Getting an anoyying error
 
//error// error lnk2019 unresolved external symbol //code// main.cpp- #include <iostream> ...
[3 replies] Last: Thanks it worked :) (by limitedaura)
SQL Server
 
Hi I'm trying to find a way to create and amend a database using the SQL server. I have no idea h...
[no replies]
by Glaven
User Array Size and Sorting User Input
 
I am making program that allows the user to determine how big the array size will be and then asks t...
[3 replies] Last: Computers are too stupid to do things out of order. You have to ask th... (by Duoas)
by smosh
Help with Lab!
 
This is my lab: (A treasure is hidden someplace ! The coordinates (x1,y1) are determined randoml...
[no replies]
SF2 24-bit samples with 16-bit renderer?
 
My renderer uses 16-bit samples (short). The soundfont might use 24-bit samples or 16-bit samples. I...
[2 replies] Last: You can effectively use a bitshift to downsample, which is very fast a... (by Duoas)
Creating a stand alone function that works with member functions?
 
Thanks to some previous help I was able to get this program running. Now I working on taking one of ...
[2 replies] Last: I'm confused as to why you are trying to do this. First, you want to a... (by Duoas)
How to shut down the console window of a c++ program without waiting for the key stroke after showing results in console window
 
How to terminate a c++ program after showing the results in console window.Do not wait for the key s...
[4 replies] Last: Just as on a Mac, it's not your business to decide what the user wants... (by Duoas)
[solved] Creating header files with functions
 
Hey guys, so I currently have a running program "game.cpp" that runs a game of tic tack toe. I want ...
[11 replies] Last: I got it, thanks for all of the help guys! (by YumBerrys)
Last line is printed twice on output file
 
#include <iostream> #include <fstream> #include <string> // returnDataType functionName(DataTypeO...
[2 replies] Last: Oh wow. it worked thank you. (by hunterwardle)
by Jweim
Logic - Writing input to .txt
 
So I'm trying to take some information that a user inputs and to then write it into a .txt file. The...
[2 replies] Last: I still don't have a clue on how to structure this. Below is what I've... (by Jweim)
c++ else if statement
 
void printScores() { for(int s= 1; s < 25; s++) { if(testscores s = 0 && testscores...
[3 replies] Last: doug4 explained how to fix your code. But this can easily be calculat... (by zoran404)
Array of 10000, display only 5 problem
 
#include <iostream> #include <iomanip> #include <ctime> #include <cstdlib> using namespace std;...
[1 reply] : for(int k = i; k < (k+2); k++) Your problem is here. The value k w... (by doug4)
strcmp weird error?
 
Hey. I am getting an error in finding node in BST. Is there any difference betwee if(strcmp(root-...
[1 reply] : Well the second one has a stray comma after 'barcode' that would preve... (by Disch)
Names with spaces
 
I was previously talking about this in a seperate thread, but it was nothing to do with the topic so...
[5 replies] Last: Okay, thanks. I was just basically wanting my version of int to fit in... (by shadowmouse)
C++ Assignment help
 
Hi all. I am fairly new to programming. so I need a little help. I was given this assignment today a...
[1 reply] : Nice job! This is very very good code. What problems are you having? (by dhayden)
Question about goto Statement
 
int main () { char buffer ; fgets(buffer, 256, stdin); for (int i=0; i<21; ++i) { ...
[3 replies] Last: #include <stdio.h> #include <string.h> #include <ctype.h> int main()... (by JLBorges)
Unscrambler
 
This program should be easy for those who are experienced //not me So i want to make a simple word ...
[7 replies] Last: The aha! insight is to sign each word in the dictionary so that words... (by JLBorges)
Why this code is not giving output?
 
Why this code is not giving output? When the input value of n>1. // Example program #include <i...
[1 reply] : What is it supposed to do? (by kbw)
Pages: 123... 39
  Archived months: [sep2014]