General C++ Programming - August 2015 (Page 17)

Strange function
 
I wanted to know what is the middle things called in c++ , I haven't seen it before. void TW_CALL computeSlopeVarianceTex(void *unused) void : return valu...
[1 reply] : The TW_CALL is most likely a preprocessor macro that expands to someth... (by keskiverto)
by cetare
longest subsequence
 
Hello, my program should output the longest increasing subsequence. But when i run it it it stops exactly after i give the input. This is in russian and for me...
[4 replies] Last: Thx (by cetare)
Trouble inputting loops into file then reading the file
 
Hello, I am having trouble with a problem. I have been messing around with it for a few hours but still haven't even been able to make anything output to the te...
[4 replies] Last: Move line 38-48 up and put it after line 27 (by SamuelAdams)
Negative index in array
 
I'm working on designing a class Day of the Year that takes an integer representing a day of the year and translates it to a string consisting of the month foll...
[2 replies] Last: I approach this problem in a simple case first i.e I assume a year has... (by htran141)
by Papa
Restoring my locale?
 
Before my program access the bellow code, the display is: Country: CANAD¿ Number: 3872 After the code is this: Country: CANADÁ Number: 3,872 ...
[2 replies] Last: nice to see someone aware of C++'s well-hidden toupper for arrays. if... (by Cubbi)
Archive decompression issue
 
Hello there, On my Linux remote server, I put in an archive a file a.exe (around 5mb), and convert it to .bz2 with the command 'bzip2 -f a.exe', then I get bac...
[2 replies] Last: Ah, definitely, how can I have been so blind. Thank you very much for ... (by Kartoffel)
Issue with crash at exit
 
Hey guys, Not sure what is happening here, but all of a sudden I started having crash issues when I close my program. The thing is, it started happening afte...
[18 replies] Last: If you guys want I could share it through dropbox. I could use a good ... (by Skwidman157)
c++ console colors
 
hello! I am trying to make a c++ ASCII console game but I am having a lot of trouble with colors! nothing i have tried worked. Any help is appreciated!!! I want...
[5 replies] Last: @whitenite1 That worked!!!!! I can't thank you enough man!!!!!! (by ProGrammarz)
Differences about .a files and .o files (static libraries and objects).
 
What the main differences about .a files and .o files (static libraries and objects), besides the fact a static library can link various object files? How I ...
[1 reply] : From man ar The GNU ar program creates, modifies, and extracts fr... (by keskiverto)
suggestion wanted to make a unique project
 
I want to make a project on admission process of jac conselling system.WANT IDAES to START it.
[10 replies] Last: Thanks and no problem... (by Aim4Erudite)
stdio.h file not found in cmd
 
i install turbo c++ in my windows 7 so when i install in c directory and also i set environment variable like this c:\turboc4\tc\bin and also i set comma...
[5 replies] Last: I don't have time to mess with installing TCC right now, but it looks ... (by Duthomhas)
by leourb
Strange results in function
 
Hi everyone. I wrote this function to count numbers in an integer but, when I compile and run it, it returns to me strange values. I do not know why. Here is ...
[3 replies] Last: No worries :+) Do read up about namespaces though, and the various op... (by TheIdeasMan)
Please, I need help!
 
What do I have to pass to this constructor!? SteamClient( std::function<void(std::size_t length, std::function<void(unsigned char* buffer)> fill)> write, s...
[no replies]
by yj1214
Not sure how to explain this...
 
These are my codes, main.cpp #include <iostream> #include <SFML/Graphics.hpp> #include <SFML/Window/Mouse.hpp> #include <SFML/Window/Event.hpp> #incl...
[3 replies] Last: Okay, from that there are several things you could do. You could have ... (by shadowmouse)
Illegal instruction
 
Hello, I am trying to run my code on a linux cluster and getting "Illegal instruction" and nothing else. My code uses only Boost:program_options lib and one ...
[2 replies] Last: Thanks. I found that it is due to external library that I use (gives s... (by stridder)
August 2015 Pages: 1... 151617
  Archived months: [jul2015] [sep2015]

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