49,761 Topics
| |
Hello DaniWeb :) For very long I've wanted to develop and venture into the Win32 API and make programs like I find on the internet. Show the world my creativity. I made a simple calculator with a GUI and Menu bar from scratch. I was proud but I was shattered … | |
Hello, I was wondering about learning C++ not from books but from video tutorials. Anybody have experience in learning from video tutorials? I found a video course like that: [url]http://video-courses-online.com/programming-courses-online/c-course.php[/url] but i'm not sure if it will be any good. Well there are 3 demo lessons, which I pretty liked, … | |
i have a simple asterisk graph program but i am having trouble anout the output how will i align the result of the other perosn.. this is my code [CODE]#include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #include <windows.h> #include <iomanip> using namespace std; void main() { int cartoon; int … | |
Hai all, I want to "re-enable" the stick without unplugging and plugging the stick again. How can i do this please help me for this. now i did some coding for get the device information. Thanking you | |
Hi friends If we will override nonstatic methods or if we will overload non static methods means shall we say it is the run time polymorphism? If i will override static method means, friends are saying it is not compile time polymorphism, It is method hiding. I need some examples … | |
[B]Goal:[/B] I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup", It will move all the files that end in "~" into the specified backup folder. Here is my code currently, and I'll explain the problem after: [CODE].PHONY: backup backup: @mkdir … | |
Basically, how would one take this code (written for a parallel port) and change it to make it work with a serial port? [CODE]#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/io.h> #define base 0x378 /* /dev/lp0 */ main(int argc, char **argv) { int value; if (argc!=2) printf("Enter a number between … | |
| Hello! I'm a Daniweb newbie :)) I just want to ask or request the codes of this simple software (as my professor call it): Can anyone give me the codes how to make a FILE SEARCHER SOFTWARE? *File Searcher software - a simple software with the same function as F3 … |
Hello, I am looking for a good library to manipulate matrices. The criteria is as follows... 1. It must have a large amount of functions that we may need to use in the future. Functions will include but are NOT limited to: --sortbyc( Mat, col) (sorts rows in a matrix … | |
Im having some problem in shuffling the deck. There are some repetition after it shuffle. Any solution for it>? [CODE] #include <iostream> #include <windows.h> #include "stdlib.h" #include <cstdlib> #include <ctime> using namespace std; const static int BLACK = 0; const static int BLUE = 9; const static int RED = … | |
Hi, I have few problems, so I hope someone will help me :) I started with win32 API yesterday and I really like it, but I need little help :) #1 edit: I already fixed this :P #2 I created small "login" application, after user press "login" it should get … | |
im having trouble with my output i want to justify it the name and the result but i dont dont how when i enter a number it is not centered......pls help me this is my codes [CODE]#include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #include <windows.h> using namespace std; void … | |
hi all , i am developing a project that uses sdf database and i want to connect to it using odbc driver.. recently i found that there is no odbc driver for sdf database. I also found we can use ADODB and ADOX with oledb to connect with sdf.. but … | |
Anyone who knows how I can download boost library manual in zipped html chm or pdf? I'm not always working with internet and I will be working with some boost libs(latest). Thanks | |
hello i'm trying to write a program that allows user to imput integers between 3 and 9 (both included)using a for loop could you please help your assistance will be appreciated highly.so far this is what i got [CODE]#include<iostream> using namespace std; void main () { int a; for(int 3>=start;9<=end; … | |
I swear I used to know how to do this ... so I have this array: BYTE bcdData[6]; and a function that returns it: [code] BYTE * BCD::GetBcdData() { return bcdData; } [/code] and I have this other array in another class: BYTE tpIdByte[2]; And what I am trying to … | |
Hello you guys, i'm new to this community and relatively new to c++. right now i have a big problem with namespaces and i'm not able to resolve this issue on my own, so here we go: I want to integrate 2 simmilar projects into my project. they are so … | |
If I write windows API application using vc++ 10,does the .exe file work in any windows computer or is vc++ a necessity in the other computer also? | |
i am trying to figure out how to pass structures based on the state of one of the variables. bassically there are 8 "teams" that each have a "progress" variable that is a bool. I want to be able to pass the 4 "teams" that have had their "progress" bool … | |
Hello to everyone. I'm trying to write a piece of C++/Qt code and I always seem to get stuck at the same thing. I'm creating a DAQ System for my MSc thesis, who's purpose is to present and get some variables from the user interface (class name Interface) and when … | |
please inform, I want to connect one CPP data file with excel data file. How to connect (link) one excel file with cpp data file. Which is the header file for the same. | |
Hello, iam reading primer at the moment ( around page 400) and i want to create my first usefull application. for example i want to create a programm that opens firefox and paste the url in the search window. can u give me some keywords which i can google ? … | |
A parking garage program with five functions..can someone give me a way? | |
I have 2 codes. (that I had read in one book). the explanation under each code is true (because my book say that !!!). But in my thinking, if one code is true, so the other will be wrong. (wrong mean it will not have result same with the explanation). … | |
hi, i am trying to make a weight watchers program and heres my code: [CODE]#include<iostream> #include<fstream> #include<conio.h> #include<cstdio> #include<windows.h> using namespace std; int main (char argc) { for(;;) { system("cls"); ifstream r; r.open("cdaily.txt"); double r1; r >> r1; r.close(); ifstream r2; r2.open("cweekly.txt"); double r3; r2 >> r3; r2.close(); cout << … | |
i was having trouble with this couse we use an asterisk sign instead of a graph but the output is so mixed up how will i will aline the asterisk..pls help me [CODE]# include <"stdafx.h"> # include <iostream> # include <conio.h> # include <string> # include <windows.h> void main() { … | |
I am trying to write a function that will count test scores that fall in a specific range(90-100, 89-80, 79-70, 69-60 and 60 or below) that are stored in a two dimensional array. Also, I am supposed to write a function that will do the same as above, only this … | |
[CODE]// multiplication #include < iostream.h> int main() { int j ; int i ; int multi ; for ( j=1; j<13 ;j++); { for (i=1;i<13;i++ ); { multi = j*i ; cout << multi : } } return 0; }[/CODE] | |
guys...i m trying to make a simple program to input 3 nos n print their all combinations(......plz help!!!.... thanx...:) | |
I have only 2 errors in my code. Both of them are on Line 123. The errors are: 1>c:\users\zvjezdan\documents\visual studio 2010\projects\week5_math\week5_math\program.cpp(124): error C2804: binary 'operator *' has too many parameters 1>c:\users\zvjezdan\documents\visual studio 2010\projects\week5_math\week5_math\program.cpp(124): error C2333: 'main::Vector3::operator *' : error in function declaration; skipping function body This is code for finding … |
The End.