Search:
Type: Posts; User: salehhamadeh
Search:
Search took 0.07 seconds.
-
September 21st, 2010, 08:44 AM
I have a program that sends files between 2 computers. I'm using winsock to send the files using the send function. The program works great for small files. But when I try sending large files, they...
-
September 7th, 2010, 09:15 AM
I have an HP Pavilion dv6000 that comes with a remote control. It has a built in infrared sensor. How can I make a program that could catch the signals from the infrared sensor.
-
November 28th, 2009, 06:38 AM
It was passing it to an outside function via the member function, but the issue is solved now.
-
November 23rd, 2009, 10:55 AM
Thanks Joeman, th is exactly what I wanted :)
-
November 23rd, 2009, 10:48 AM
-
November 23rd, 2009, 10:43 AM
I have a class called player and the member function move. In move, there is a function that needs the player as an argument. How can I pass the player itself as an argument to the function???
-
October 8th, 2009, 09:54 AM
It would be better to make a struct that will have your .bmp variables
Check this link: http://www.computing.net/answers/programming/writing-a-bmp-in-c-manually/14840.html
-
October 8th, 2009, 09:52 AM
Don't expect anyone to give you a direct answer fraga. In order to convert files, you'll need to know how every file of them works.
-
October 8th, 2009, 09:49 AM
1- Get the explanation of every file format you want to play.
2- Read the file and check what is written at the beginning (such as BM in .bmp files).
3- If your sure that the file is a video, then...
-
October 8th, 2009, 09:35 AM
Your problem is in this line
if(account = 100)
If you use the '=' operator, the account will be set to 100. You should use the '==' operator to check values. This can be done like this:
...
-
October 7th, 2009, 04:46 PM
The code doesn't have any memory leak since the temporary string is in a local scope.
-
October 7th, 2009, 04:42 PM
Check this link: http://www.cprogramming.com/tutorial/lesson10.html
-
October 7th, 2009, 04:36 PM
Make sure that the ints of ClassA are public(not private or protected).
-
October 7th, 2009, 04:27 PM
#include <iostream>
#include <string>
const std::string str_arr_1[] = {"","ein","zwei","drei","vier","f\u00FCnf",
"sechs","sieben","acht","neun"};
const std::string str_arr_2[] =...
-
October 6th, 2009, 03:00 PM
It's either that you were day dreaming or that your teacher is dumb. You can use any expression as long as your answer has the type of the argument.
No matter if you do this:
funct(1.0, 2.0,...
-
October 6th, 2009, 02:46 PM
bool check_string_numeric(std::string str)
{
for(int i = 0; i < str.length(); i++)
{
if(!( (str.c_str()[i] >= '0') && (str.c_str()[i] <= '9') ) )
{
//Not...
-
October 5th, 2009, 04:18 PM
I know how to use fstreams for handling files, but my problem is that I want to access a physical drive. Is there a way fstreams can access physical drives?
-
October 5th, 2009, 12:33 PM
I didn't want windows to use it, I just wanted my own explorer to use it.
-
October 5th, 2009, 06:55 AM
[Problem Resolved]
I searched MSDN and used the WIN32 API CreateFile() to open the physical drive and the WIN32 API ReadFile() to store the data into a buffer.
-
October 5th, 2009, 05:06 AM
You're second example isn't working because you didn't declare the function's prototype. This is how you declare the prototype:
#include <stdio.h>
void printme(char printtext[7]); //This is...
-
October 5th, 2009, 05:00 AM
Third, there's no variable called word1.
-
October 5th, 2009, 04:31 AM
Thanks for nothing, souldog.
-
October 4th, 2009, 03:20 PM
//This is a game called "The Guessing Game"
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
int number;
unsigned seed = time(0);
...
-
October 4th, 2009, 03:12 PM
Hi gurus,
I'm willing to create my own file system, which I will use for my external hard disk. Can anyone tell me how to read binary data from the hard disk and write to it. Thanks 4 help.:)
-
September 29th, 2009, 04:36 AM
Try reinstalling your pjlib. If it didn't work, check the documentation on how to set up the environment on your IDE.
|
Click Here to Expand Forum to Full Width
|