- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 1K
- Posts with Upvotes
- 916
- Upvoting Members
- 271
- Downvotes Received
- 74
- Posts with Downvotes
- 70
- Downvoting Members
- 54
Hey, guys~~ I have some questions about CSP Is simple hill-climbing a complete algorithm for solving CSPs? and if a CSP is only with unary constraints, is it sure to be solved? Thank you^~^! |
|
I have read some threads on this warning and I understand what the warning is and there have been suggestion on how to get around the warning, but how do you code it correctly not to get the error? In my class we are studing namespace,typedef, string functions the assignment … |
|
first of all, I wanna say hi to u all as I'm new to daniweb. I'm a freshman in a college so I don't know much of c yet. So please be understanding in case that I will ask some n00b question later on :) So this is my problem...first … |
|
The title pretty much says it all. I cant find an option in my control panel? Thanks [fake signature removed] |
|
Hi everyone, i am in need of ideas and want a bit of advise...i want to make a serial port sniffer which will be able to read the data goin in and out of the serial port between two other programs..... im not sure how i will be able to … |
|
Hey everyone of the c++ world. I am a little stuck. Here is what i am suppose to be doing. Write the program as an object-oriented C++ program that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, … |
|
Coin game: Alice and Bob are playing a game using a bunch of coins. The players pick several coins out of the bunch in turn. Each time a player is allowed to pick 1, 2 or 4 coins, and the player that gets the last coin is the winner. Assume … |
|
Plz tell me how I would calculate time complexity of the program: int i = N; while (i > 0) { int Sum = 0; int j; for (j = 0; j < i; j++) Sum++; cout << Sum << endl; i--; } thnx in advance |
|
Hey, I just started learning C++ a couple of days ago and I'm interested in making an automated bot for an MMORPG ie. Runescape, MU Online, Silkroad Online, Last Chaos etc. It would be for personal/private use, so only I would use it. I was wondering, is there a quick … |
|
I am writing a game in which I need to know whether or not a user preforms an action in one second or less. I can not use time() because it measures time in seconds. If the user starts the action half-way through a second it would mess with accuracy. … |
|
Hi all, I have already used InitGraph and have given the path(C:\\TC\BGI) in Initgraph and checked the Graphics option in Linker Options. Still Iam getting this error. I want a solution. Can somebody pls help me. Its urgent. |
|
Hmm... I've made it my top priority to get a Master's and Ph.D in Computer Science and Software Systems... however I'd like to know what a suitable Master's Thesis would be? I'm thinking about making a book, maybe 6000 pages long, pertaining to nothing but Software ideals and technology. This … |
|
Hi Am doing my project in image procesing(text extraction from image)can u anyone send the codings for extract the text from image |
|
Hello, I'm 100% new to C++ and someone recommend Code::Blocks as the best IDE for coding in this language. However when I try to run my code: [CODE=c++]#include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; cin.get(); return 0; } [/CODE] I get the following … |
|
First off, happy thanksgiving everybody. Second, my program has problems. I've discovered a horrible way (for me anyway) to design and my attempts to fix it aren't getting any where. I have to design a roman numeral calculator (input romans, output romans) with at least two functions (decimal->roman, roman->decimal). I … |
|
Hello, I am in my 3rd year and would be required to submit about 5 project proposals next month. I am really interested in doing a project involving database but as many topics as i have seen look like i would get hooked mid way. So please if you have … |
|
I would like to know if any one know what are the steps of setting up code for CPU Scheduling. I must develop a simulation program for CPU scheduling. -First I have to use FCFS(first come first serve) algorithm that will read the first number that me or anybody put … |
|
We have a Windows NT 4.0 Workstation which we forgott the admin password. The admin is the only user assigned to the machine. I want to know, is there any free software out there that will let me reset or change the password of the administrator? or how can I … |
|
The strange title comes from a skit by Benny Hill, where he tells his wife all the facts she shouldn't know, but she always answers "I know! I know!" Anyway, this thread is suppose to be a collection of strange facts. Let's have fun! Here are a few facts to … |
|
EDIT: Please note, as I write this, the post is now 6 years old and might have some outdated information. I'd personally recommend beginners start with "Learn C the hard way" by Zed and this book since I have heard good things about them. Reading the FAQ put together by … |
|
what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement? |
|
My friend and i were having a discussion the other day and we were having a heated argument about how to make that dang diamond pattern in C++ code...does anyone remember how to make that thing? like this?[TEX] * *** [/TEX] |
|
Hi, I am having a C++ application. It works fine when I run it in Debug mode, and debugs the code. But when I execute it in comand line mode I get an Unhandled exception. Unhandled exception at 0x77012016 in test.exe: 0xC0000005: Access violation reading location 0x6cfd018d. [CODE] LPTSTR getFileDetails(LPTSTR … |
|
Hi Folks: I just installed Dev-C++ 4.9.7 beta 7 and compiled a simple "Hello World" console app, I get a lot of error related to iostream.h file not being found. Dev-C++ is installed in C:\Dev-Cpp\ directory, Has anyone else have had this problem. Thanks AJ |
|
Hello guys i need some help, i need a program to read a text file. I write this: [code]#include <iostream.h> #include <fstream.h> #include <cstring.h> void main () { int is_open; string line; ifstream myfile; myfile.open ("a.txt"); if (myfile.is_open()) { while (! myfile.eof() ) { getline (myfile,line); cout << line << … |
|
I spent 4 hours trying to find out how I can add the digits of a number. Could you give me an idea? |
|
I regret that I have to inform you that [Adak](http://www.daniweb.com/members/346000/Adak) passed away suddenly after an illness (thanks to the_cultie from the OC forum for the notice). For folding details, please see here. http://www.overclockers.com/forums/showthread.php?t=744019 |
|
In Turbo C , I am using bios.h to send and receive data on serial Port. I am using bios(2, 0, COM1) to receive data.... and bios(1, in, COM1) to send data..where (let int in=65 I am receiveing data from Port but unable to send... I copied code from [url]http://electrosofts.com/serial/[/url] … |
|
As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how you do it in C for both a Windows … |