General C++ Programming - April 2013 (Page 42)

by MM45MM
creating a generator assistance-PLEASE
 
I need some assistance, creating a generator that would create binary com files. I have the simple ...
[no replies]
Compiler stops working? :S
 
I have this code, and basically what I have to do is take the info from two archives to some arrays ...
[8 replies] Last: Added variable cont2 for the second array. Still, I don't think that's... (by StarCharm)
by seiji9
one dimensional array
 
Is it possible to prompt information from user then display the result in a one dimensional array fo...
[7 replies] Last: @MiiNiiPaa "cin >> gross ; err... shouldn't it be cin >> gross ;" wait... (by seiji9)
by hvigil
How to start counting time ?
 
Hey , I want to know if there is a function or library that starts counting time when the program st...
[2 replies] Last: #include <iostream> #include <chrono> // C++11 int main() { usin... (by JLBorges)
Calling functions of class and outside with same name!
 
Hey friends... Long time didnt use forum... But now i got a fairly interesting thing to get solved. ...
[7 replies] Last: I realize your example may be for demonstration purposes only, but ple... (by xismn)
Connecting rooms in grid map
 
I have a map that is full of 4+ rooms each with one randomly selected door on one of its sides. I n...
[8 replies] Last: Thanks so much for your help Disch. This is about what most my maps lo... (by orourkeh)
C++ counting arrays output help?
 
Hi, I was wonding if anyone could please help me with my programming. I got most of my programming d...
[1 reply] : This code is already invalid i= 0; while(i < n-1){ Let assume that n... (by vlad from moscow)
C++ arrays in function
 
Write a function named "sum" that takes as its arguments the following: (1) an array of floating po...
[2 replies] Last: It is not a question on programming. It is a question on arithmetic. D... (by vlad from moscow)
Memory alignment
 
I need to understand memory alignment thingy, to be able to use SSE instructions which needs data to...
[9 replies] Last: [quote=morando]" I think its better for me to use alignment on AABB on... (by closed account zb0S216C)
How do I add elements to an array?
 
I've a file that looks like this: 84484-37.96-Castor, Kathy 39050-69.68-Chandler, Ben 26183-70....
[4 replies] Last: @Smac89 your code is incorrect. -extend_arr's return type should be a ... (by LB)
How to have the console recognize every word?
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int x; string ...
[1 reply] : Chervil already answered this question in your other post here: http:... (by Disch)
by dima93
What are the basics of pointers (*) and (&)addresses ?
 
I cant understand the concept of the ( & ) and ( * ) symbols in C++, what is the difference betw...
[4 replies] Last: [quote=DANNY123]I think int & n2 = n; means that n is represented by ... (by LB)
Adding UI
 
Any tutorials on adding a UI to a console application? Any and all useful help is welcomed. All I re...
[1 reply] : http://wiki.tcl.tk/1304 (by ne555)
Representing a rectangle with only 3 variables instead of 4.
 
I figured out how to use 3 variables to represent a rectangle in a grid instead of using 4. The ...
[2 replies] Last: Daleth is right. Your plan won't work. (by Disch)
by rcast
Math question (calculating dimensional weight with code)
 
I am developing a shipping calculator and am unsure of how to calculate the given billable weight of...
[10 replies] Last: Sounds like if a large package is under 90lbs it will be billed as a 9... (by naraku9333)
by hvigil
How do you calculate time ?
 
Hello , I want to calculate time . Lets say when the program starts, time starts counting. And every...
[no replies]
irc bot not working (1,2)
 
Hi everybody! I'm learning network programming and I've decided to program a simple c++ irc bot. I...
[22 replies] Last: I don't know, what I've done, but it works :D thanks for help (by sveatlo)
Question about language translator program
 
I created a conlang before (constructed language), and now I am learning C++, so I decided to progra...
[4 replies] Last: Ok, I just figured it out, I'm doing this: std::string eegus (" i"); ... (by DarthBrogan)
Something like automaticaly updated varlible
 
I though this was suppose to result as a function which I would call like t(), but I get this error:...
[8 replies] Last: How do I enable that switch? I don't have C::B installed here so I ... (by Disch)
by hvigil
How to make a linked list.
 
How can you make a linked list without having to write node *head = NULL; head = new n...
[4 replies] Last: thanks (by hvigil)
April 2013 Pages: 1... 4041424344... 53
  Archived months: [mar2013] [may2013]

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