General C++ Programming - August 2013 (Page 18)

by col
Passing encryted passwords between .exe
 
Hiya, I'm new to the amazing world of encryption and I'm just looking for some best practice ideas. My scenario is that I have one application that I want...
[no replies]
C++ Loop Conversion integer to binary
 
This program is basically working. I'm very knew to C++, so basically I need instructions as if you were explaining this to your grandma. I need this to loop ...
[4 replies] Last: Thank you! I did finally figure it out to include the whole code it t... (by AndyLA72)
by spades
Size of class
 
Hi all, i coded a class and was interested to check its size in terms of bytes. class Node { public: Node(); ~Node(); char getContent(); void setCo...
[3 replies] Last: Hi, Cubbi and kbw. Thank you for sharing with me those information. Ap... (by spades)
Need help with an error message
 
Hi i have been programming for a short time and i keep on getting the same error with each time i try to run this simple program. // my first program in c++...
[2 replies] Last: even when i do that it still comes up with the same message (by acelife)
Strange crash
 
¡Hi! I come from another forum whith the next problem, very strange, that nobody has been able to explain... Of course, there are alternatives, but what i wa...
[9 replies] Last: I would never have guessed that that was the problem. It is too farfet... (by SegFault)
Java/C++ Library for Serving Office Files as HTML content in Browser
 
I'm working on a file sharing/upload service, i want to be able to display the Office files like doc,docx,xlsx,xls,ppt,etc from my Server(HTTP) as HTML content ...
[no replies]
Problem with cin
 
Hi everyone.. im getting a problem while using cin in my cpp code. We use one internal tool to connect to systems which are in cluster. It has one outp...
[no replies]
How to make a basic SFML?
 
I have downloaded the SFML libraries and I don't know how to start. Do I use int main? So far my code: #include <C:\SFML\include\SFML.h> I ne...
[3 replies] Last: Ok, the way I did it was follow the SFML official site setup instructi... (by Superdude)
variable being used without being initialized
 
Hi, I've created a program meant for submission for my final project but when i ran it, it shows that the variable being used without being initialized for quit...
[2 replies] Last: Are you just getting an "uninitialized variable" warning or are you ha... (by Stewbond)
OpenGL 2.0 Flip Pixel Data
 
Alright, so I'm using OpenGL along with SDL for input and window handling. I'm also using SDL_image to load PNGs into my program. It's all good, but one prob...
[13 replies] Last: Why are you bumping a thread to get an answer to a question that has n... (by cire)
by epi975
Issue with SDL library
 
So I've been having this really annoying issue with trying to set up the SDL library in Dev-C++. I have been following the instructions here http://lazyfoo.net...
[6 replies] Last: !!! I never realized the LazyFoo 2.0 stuff was just source. I had be... (by Disch)
Breaking a float into bytes for binary I/O
 
Hello, I'd like to know how I could break a float into individual bytes for binary use. Sounds simple, but it seems as though the compiler doesn't realize ev...
[8 replies] Last: Thanks. (by closed account N36fSL3A)
What is the problems in this code?
 
#include<iostream> #include<math.h> #include<string> using namespace std; #define PI 3.14159 char figura; float h,r,A,V; int main(){ cout<<"**** Calcula...
[7 replies] Last: In the line 13 and 48 i forget the ; (by Danilmen)
Opengl test code with GLFW & GLEW compile errors
 
Hey there! I'm learning OpenGL 3.2+ with GLFW and GLEW. I'm learning it through this series of tutorials http://open.gl/context but when I run the first code...
[12 replies] Last: Hey marc i was wondering hows your coding going so far? I started work... (by krazyie)
Windowed vsync with Opengl/Glee
 
After setting up a simple tilemap and implementing scrolling based on a camera following the player I noticed I was getting pretty bad tearing while scrolling t...
[16 replies] Last: True, but that would be difficult to notice in game. And if it is a r... (by Disch)
If Statements
 
I need help with these If statements they are not compiling , I want a message saying its greater than 0 to be an output when first number multiplied by the sec...
[4 replies] Last: [quote=koppaka]THIS MIGHT WORK cout << "Please Enter The first intege... (by closed account N36fSL3A)
Best Programming Fonts?
 
Hello everyone! I wanted to know from you guys, not a too serious question, but what is the best programming fonts in your opinion?
[6 replies] Last: I tried consolas for a little while. Then I found just last night that... (by reedrocks58)
help with recursive function
 
void partition(int arr ,int low,int high){ int mid; if(low<high){ mid=(low+high)/2; partition(arr,low,mid); partitio...
[1 reply] : The easiest way to understand this is to print low, mid, and high at e... (by ats15)
by Ceset
game engine
 
hi guys i want to have some experience as a c++ programming beginner. so i thought about trying to create my own 2D game or engine or both for gaining experien...
[1 reply] : SDL or SFML. Don't go for Allegro. The graphics part of games is rela... (by closed account N36fSL3A)
for Syntax
 
I am looking into a code snippet for the Dancing Links (DLX) algorithm in its pure, general form; not for Sudoku specifically. I found what I'm looking for her...
[6 replies] Last: Windows programs use / for switches thats only if its deigned to. i ... (by closed account Dy7SLyTq)
August 2013 Pages: 1... 1617181920... 28
  Archived months: [jul2013] [sep2013]

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