General C++ Programming - September 2013 (Page 20)

Reading certain numbers at a time from an int file
 
Hey guys. I need help reading certain int's at a time from one int number stored in a file. I'll explain. I am working on an ezpass project and basically I h...
[1 reply] : http://en.cppreference.com/w/cpp/io/basic_istream/get http://en.cppref... (by closed account 2b5z8vqX)
C++
 
Hi, I am facing the following problem while trying to run a C++ code in Makefile. Please suggest a solution to rectify this: $ make ccache g++ -ggdb -f...
[1 reply] : ap_fixed.h doesn't exist... just as it says. (by closed account S6k9GNh0)
Is it possible to output graphics without using windows.h (1,2)
 
I use Codeblocks and TC 3.0. I use TC's textcolor and textbackground functions to output colourful text. But only 16 colors are possible. Also I tried creatin...
[20 replies] Last: You know, if OP were just to copy egavga.bgi from the compiler's di... (by Duthomhas)
plz help me to understand this program
 
write comments for each line int main() { int sumDigonal ; for (int i = 0; i < 3; i++){ for (int j = 0; j < 3; j++) { ...
[1 reply] : #include <iostream> using namespace std; int main() { int ... (by closed account 2b5z8vqX)
cout HELP !!
 
- is there any difference between cout and std::cout ? - if yes then please explain it.
[6 replies] Last: The really hardcore purist would write ::std::cout in case someone ... (by Cubbi)
by Ugff
TicTacToe
 
I'm getting this weird glitch and I have no idea how to fix it. Here's the code: note:It seems like P2 is losing its string. #include <iostream> #include <ctim...
[8 replies] Last: Thanks for helping. Line 24 - char S ; should have been S . Thanks tho... (by Ugff)
Memory leak - Can you find it?
 
Hey guys, I'm working on building a map maker for learning purposes, and decided to start building the main menu in SDL. I have a button called "new" that pops ...
[6 replies] Last: Check the date when this was posted, and no it isn't there's a lot of ... (by closed account o1vk4iN6)
Urgent....
 
really really simple program, but gets and puts not working,........can somebody spot the bug? <\code> #include<iostream> #include<fstream> #include"stdio.h" u...
[14 replies] Last: Ellipses make me nervous. Do you need me to clear up anything more? (by Computergeek01)
by Fazeel
Printer Spooler
 
Hi. We have an assignment in which we have to implement a printer spooler using linked lists. I have used the list from STL to implement everything. I can get t...
[1 reply] : OP said: The problem is I don't know how to mimic/send a dummy pr... (by Computergeek01)
by Tomhet
Control USB Slots
 
ey I want to control USB slots for turning off/on the power in those... I have a TnB USB Led lighting stuff for laptops and I want to turn on/off with my pr...
[no replies]
finding if a number is prime LARGE NUMBERS
 
I have a very large number in word ~6million digits long I wish to make a program to check if it is prime. Could anyone give me an idea of where to start?
[5 replies] Last: http://en.wikipedia.org/wiki/AKS_primality_test Caveat: deterministic,... (by JLBorges)
copying the bitmap image from one location to another device
 
Can anyone help me in copying the bitmap image from location(/home/vikas/test.bmp)- Monochrome Bitmap. I need to copy the bitmap from computer to zebra print...
[no replies]
by fwm421
CreateProcess Error, help with parameters?
 
I am trying to open a pdf via firefox with CreateProcess(), I am a beginner and know nothing about using CreateProcess, but the MSDN article says the following:...
[no replies]
Help creating a pointer to a dynamic integer array
 
Hi guys, I'm having a little trouble understanding part of my assignment. The part is: Create in the private section of the ServerGroup class a pointer to...
[2 replies] Last: If you are not updated to C++11 then maybe try doing this in the const... (by Stewbond)
Syntax Error Help
 
Hi, I am in my first Computer Science class in college, and we are doing an exercise that asks to create syntax errors, logic errors, and runtime errors, and do...
[6 replies] Last: If the compiler simply siad "syntax error", that wouldn't be very help... (by AbstractionAnon)
Help me about speech to text
 
how to write speech to text application? without any plugin all code by myself like Google or Microsoft SAPI or Apple Siri
[16 replies] Last: Current posters are assuming OP is spamming. He might not be. So let's... (by Duthomhas)
Program wont run correctly
 
I keep getting an error and then breaks my program but have no idea why. Can someone help me with this please? #include <iostream> #include <iomanip> ...
[1 reply] : Only delete things that you created with new . You did not allocate ... (by Disch)
Help with assigning fractions to a class template constructor
 
Hey guys, I'm really stuck on my programming assignment. I'm almost done but I cannot seem to get this last final part down. The part I'm stuck on is creating ...
[14 replies] Last: Thanks! Will try my luck again with my professor! (by rex1200)
by Snaksa
Operators >> and <<
 
Hello! I'm trying to redefine the >> and << operators. Everything is working well when I try to do it with ordinary data structures. The problem comes when I tr...
[14 replies] Last: I actually did this same thing about an hour ago for another guy: htt... (by Stewbond)
Colored text
 
Hey! I needed to know if there is any possible way to make a colorful text in graphics mode Like each letter will have different colors using setcolor(ran...
[1 reply] : Please don't spam. http://www.cplusplus.com/forum/beginner/110717/ (by Duthomhas)
September 2013 Pages: 1... 1819202122... 36
  Archived months: [aug2013] [oct2013]

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