- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 8
- Posts with Upvotes
- 7
- Upvoting Members
- 4
- Downvotes Received
- 5
- Posts with Downvotes
- 2
- Downvoting Members
- 4
Re:
With regard to C++ books, I'll just echo the advice here .The following books are recommended; read them in mostly the order listed." Accelerated C++ " Andrew Koenig & Barbara Moo " The C++ Standard Library " Nicolai Josuttis --- a "must have" " Effective C++ ", " More Effective … |
|
Re:
When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you … |
|
Re:
Hi, and welcome to TechTalk. Perhaps the first thing you should do is have a good read of the information contained in our FAQ section: [url]http://www.daniweb.com/techtalkforums/faq.php?[/url] There you will find: [url="http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_faq#faq_rules"]Forum Rules and policies, Webmaster Information, Privacy policy. [/url] [url="http://www.daniweb.com/techtalkforums/faq.php?faq=vb_faq#faq_vb_user_maintain"]User Maintenance, General forum usage, Reading and posting messages.[/url] There is … |
|
Re:
Hi.. I would like to use microsoft visual studio C++ 6.0 to build a execute file to detect whether network drive is connected and ready to used.. can anyone of you teach me how do I do this..?? my situation is I have 2 PC connect using LAN.. PC A … |
|
Re:
please help me with this problem... i dont have any idea on how to make the code... Histogram is a process of representing the frequency of data in a chart. Write a C++ program that will simulate this process. Your program should read a string (only letters are allowed) and … |
|
Re:
I have a question on Chapter 4, exercise 1 of Michael Dawson's "Beginning C++ through Game Programming 2nd Edition". The chapter goes over STL, vectors and iterators. The assignment is to create a program that allows the user to edit games in a list. In the book we learn about … |
|
Re:
I was started a thread for how to do the setup. You was told me the solution, I have publish my project 1. [B]In Build menu - publish the project.[/B] I have publish a setup in Visual Studio 2008. It's running very well on my PC. But when i tried … |
|
Re:
hi im trying to write a program that will create a class to store info on books (title, author, number of pages and price) and that will trow a custom exception when the price entered for a book is higher than 10 cents per page. I got the class working … |
|
Re:
The title in and of itself is fairly descriptive, however, I am looking for some help. I am writing a program which reads the output of a command-line based program and puts that output to a GUI. Due to my need of asynchronous i/o, I have had suggestions to use … |
|
Re:
hi there, currently i starting to learn C++.i using VC++ 2010.hmm,i want to ask why this code must be compile under console application [CODE]#include <iostream> int main() { std::cout << "123"; return 0; }[/CODE] |
|
Re:
I made a simple app to turn off a monitor. The entire program consists of just this: monoff.cpp [code] #include "windows.h" #define MON_OFF 0x2 int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, MON_OFF); return 0; } [/code] For some reason it still wont run … |
|
Re:
hello sir! i am a new user here. I am trying to compile a C code(for 32bit x86 systems) on VS2008 using Lindo API 6.1 for windows(x86) [URL="http://www.lindo.com/index.php?option=com_content&view=article&id=1&Itemid=9"]link[/URL]. My OS is Windows 7 Home Premium x64. After successfully compiling the code, when i run the exe file for debugging, I … |
|
Re:
Hello I am new to C++ programming and i am trying to write a c++ class for a calculator. I am having trouble with my get_token function where i'm trying to read one character at a time and if the character represents a number , it should convert it into … |
|
Re:
Hi there... I have the msgsnd code: [CODE](...) char *c1="./df"; if(!(df=(FILE*)popen(c1,"r"))){fprintf(stderr,"pipe1 problem");} s1.mtype=1; while(true){ time3=time(NULL); if((time3-time4)>3){ fgets(s1.mtext,1000,df); time4=time3; if(msgsnd(msqid,&s1,1000,msgflg)<0){fprintf(stderr,"sending1 problem\n"); perror("g");};} } } else if(pID1<0){ printf("failed to fork1\n");} else{ prid2 = nproc2();} return pID1; }[/CODE] and the msgrcv code [CODE]msgbuf rcv; while(true){ time1=time(NULL); if((time1-time2)>1){time2=time1; if(msgrcv(msqid,&rcv,1000,1,msgflg)<0){fprintf(stderr,"rcv problem");};printf("%d : %s\n",time1,rcv.mtext);}}} return pID3; … |
|
Re:
Hi .. this is my first post here... i have been trying to solve this problem for two days ..but no luck.. here is my problemm... I am using win32.. I can able to get notified on new device insertion and removal using DBT_DEVTYP_DEVICEINTERFACE [CODE]if ( DBT_DEVICEARRIVAL == wParam || … |
|
Re:
hi, I am working on gina dll.In which i am using C++. in .net plateform.I am new in C++.net.I am facing a problem that i have a combobox & i want that when dialog box initialize and in combo box text automatically came from a text file whichi save into … |
|
Re:
Hi, I am looking for ways to start out C(++) Compiler Design for Windows. It doesn't need to teach how to use a GUI, I just want to know how I should start out with it on Console OR GUI. Being able to write it in C(++) too would be … |
|
Re:
Hello, i've created a simple program for remote cmd. My friend wants to use it but the server of the remote console does not respond for his requests. the server is Vista and he has Windows 7. he tried to run both server and client as administrator. anyone knows why … |
|
Re:
Hi ... i am doin my B.E in computer science amd i was asked to write a programme ... can anyone help me write a c program that can hang the system ... and can u also tel me how to set it right again...[B][COLOR="Green"]:icon_neutral:[/COLOR][/B] and can u tel me … |
|
Re:
I've been playing around with recursion a little bit, admittedly it's been some time since I've used it, and I'm feeling pretty rusty. I was simply trying to recursively reverse a linked list and wasn't getting anywhere and finally google'd some code and came across the below snippet, [code=c] node … |
|
Re:
how to make a program run when an external device is plugged in???(program run from the computer not an autorun from the flash) |
|
Re:
i am also seeing the similar problem.. the code is here.. [code=c] #include<stdio.h> #include<string.h> int palindrome(char *a,int n); int main() { char a[20]; int b,n; printf("Enter the string to be checked\n"); scanf("%s",a); printf("The entered string is "); puts(a); printf("%c%c%c",a[0],a[1],a[2]); //empty line strlen(a); b=palindrome(a,n); if(b==0) printf("%s is palindrome\n",a); else printf("%s is … |
|
Re:
provide it |
|
Re:
I am having trouble getting my program to run. I can't figure out where this error is...prob. something easy and i'm just to tired to find it. Anyways here is the project details and the c++ code that I have wrote is attached below since I haven't messed with the … |
|
Re:
I am have to create a program for my class. The instructions are to allow a user to input an integer and display the month and day that corresponds to the entered number. For example, user enters 32 and it will display February 1. I must create a DayOfYear class … |
|
Re:
How to build an array containing all consonants in a string of lowercase text? No consonant should be repeated in the array even if it occurs more than once and print the number of consonants occurring? |
|
Re:
hello, i have some simple questions but i don't know why my code is not correct see these questons: 1-Write an algorithm to accept three numbers and display the largest one? this is my code [CODE]int num1,num2,num3; cout <<"Please enter three numbers:"; cin >> num1 >> num2 >> num3; if(num1 … |
|
Re:
Hi, I am working on a small program (in Windows) to control the Speed of a CD Drive. So far I have used some of the IOCTL_CDROM_... and IOCTL_STORAGE... Control codes to control the drive by opening/closing it etc. I have now developed a small piece to also control the … |