
please wait
by bdohler
Code::Blocks build errors
|
Thanks in advance for the help and patience. I've just downloaded code blocks for Windows for the second time. The first time I successfully downloaded it an... |
May 27, 2014 at 12:03am
[4 replies] Last: Thanks everyone :D I should have noticed the extra hyphen... but what... (by bdohler)
|
C++ Beginner: Array of type char vs Array of type int |
This is my first post. As a beginner of learning C++, I am trying to understand the difference between an array of type char and an array of type int. I wondere... |
May 27, 2014 at 12:00am
[2 replies] Last: When adding two integral types, if they are different sizes then the s... (by dhayden)
|
by DTrey
File I/O Issues Containing Arrays
|
Given a History of transactions in a bank account how can we print an array of an account to a file? For example you call the function by its filename. Then lis... |
May 26, 2014 at 11:31pm
[14 replies] Last: How would I get it to display the number of accounts that are written ... (by DTrey)
|
by Bdanielz
Passing a pointer to a function?
|
I would like to write a function that sums the int value of char* data type. #include <iostream> #include <string> using namespace std; int main(int argc, co... |
May 26, 2014 at 10:07pm
[1 reply] : If your string is null terminated, you do not need to pass a size wit ... (by MiiNiPaa)
|
by phztfte1
Wrong Type of Output from Linked List
|
Write your question here. Why did my output print an address instead of an integer? Note that I did not include the code from my header file. /* * Chap... |
May 26, 2014 at 10:00pm
[2 replies] Last: Thank you. I don't have a good grasp of pointers yet. The fix was ... (by phztfte1)
|
by alskdjfhg123
code doesn't work as expected
|
Hi guys, I'm trying to figure this out. After I input numbers the "max" & "min" won't display the correct numbers. Could you tell me how to fix it? #includ... |
May 26, 2014 at 8:08pm
[1 reply] : Line 17. max or min? Lines 5 and 11. How many elements do min and ma... (by keskiverto)
|
by jadegnan
problem with abstract classes???
|
I'm trying to learn SDL from a book (pakit - sdl game development) and was at the bit with gamestates. then i try to compile the program and i get these mesa... |
May 26, 2014 at 7:37pm
[4 replies] Last: Ahh yeah the const, I didn't even notice. Thanks it compiled now. (by jadegnan)
|
vector with 3 elements |
I wonder how does vector with 3 elements, for example: you type 010110001111 in the code: you have 3 positions automatically separate each well, ("010", "... |
May 26, 2014 at 6:54pm
[6 replies] Last: Here is how I would approach it, but everyone has their own ways. Did... (by closed account 2UD8vCM9)
|
by D3CIM8OR
invalid array subscript
|
I am creating a binary to ASCII converter. The way the program works is it accepts a string input, converts it to an array of ints, and converts it to ascii. Th... |
May 26, 2014 at 6:42pm
[2 replies] Last: It works for me: #include <iostream> #include <cstring> #include <cma... (by closed account j3Rz8vqX)
|
Error LNK2019: Symbol extern undefined. My code (cuda 6.0), why not work? |
Hey guys here is my code of an lexical analyzer, #include "cuda_runtime.h" #include "device_launch_parameters.h" #include <regex> #include <conio.h> #include ... |
May 26, 2014 at 5:28pm
[1 reply] : The linker error means that the linker cannot find the implementation ... (by keskiverto)
|
by danzal
How do i write this formula in c++?
|
331 * squareroot 1 + t/273 v = 331 * (sqrt((double)1 + t/273)) |
May 26, 2014 at 4:45pm
[5 replies] Last: int t, sum, n; t is an integer. So is sum. So is 273 Hence either t... (by Chervil)
|
by max v max2
Tree using Classes Problem
|
The Sum function is not working.please help me :D #include<iostream> using namespace std; struct node{ int data; node *large; node *small; }; ... |
May 26, 2014 at 4:41pm
[3 replies] Last: i had solve it using this method: [int main() { int x; bst tree;... (by max v max2)
|
by Jean14
linked list bunnies problem
|
i need to know how to correct the error in the struct but i don't know how. please help me #include"stdafx.h" #include<stdio.h> #include<stdlib.h> #i... |
May 26, 2014 at 4:14pm
[7 replies] Last: > what if i want to write it in a binary file ? When you feel the ur... (by JLBorges)
|
by salsa
challange
|
--------------------------SOLVED I WILL USE EVERYTHING U GAVE ME THX ALOT!--------------------------------------------------------------------------------------... |
May 26, 2014 at 3:37pm
[7 replies] Last: Over 1000 challenges here: http://codeforces.com/problemset?order=BY_S... (by Smac89)
|
by Wesp
Please can someone explain it to me?
|
why we use const in this case? void function_name()const; |
May 26, 2014 at 3:12pm
[4 replies] Last: the keyword const makes the a "read only" function.U cant use it to mo... (by Pter0dactyl)
|
by annemaury
help with input buffer
|
I was able to use a mouse in my console. When i compile and the first thing i call is the mouse code, it works perfectly; however, when i need to call that func... |
May 26, 2014 at 3:05pm
[2 replies] Last: Thanks anyway, i've been told that before, but it's for a class, and h... (by annemaury)
|
by DTrey
File I/O
|
I am writing a header file dealing with class I have named account. I have to go over a list on accounts and put it into a file as well as create a list of acco... |
May 26, 2014 at 3:02pm
[1 reply] : If you have a data thats structured then why are u using a text file.R... (by Pter0dactyl)
|
by CrazyCrinkle
C++ Angles from integers
|
Hi Guys, I have a program below, I am basically trying to make the camera spin around the mock triangles (as if in orbit and always facing them). I am just butc... |
May 26, 2014 at 12:43pm
[3 replies] Last: Yes, the f suffix means 'float'. Otherwise, 100.0 would be considered ... (by Chervil)
|
by ramnik93
error during compilation
|
I am getting this ERROR "undefined symbol x,y,z" and "statement missing" in the following program #include<iostream.h> #include<conio.h> int main() { clr... |
May 26, 2014 at 11:55am
[2 replies] Last: Thanks for your help (by ramnik93)
|
by altan haan
Unknown cause for error
|
I do not know what is causing these errors: error: expected primary-expression before '(' token error: expected primary-expression before '(' token error: e... |
May 26, 2014 at 10:03am
[5 replies] Last: @Computergeek01 I think you are correct, I changed the variable names ... (by altan haan)
|