- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 60
- Posts with Upvotes
- 57
- Upvoting Members
- 33
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Re:
How do I modify this program player has 5 chances to ask a letter is in the word. Computer responds yes and no. Original Exercise - Computer picks a random word from a list and player guesses the word. Computer tells the player how many letters are in the word. … |
|
Re:
I have a fairly simple question, which may or may not have a simple solution. How can I run the system(); command, in a win32 (not console) application, without the black command prompt window flashing on the screen? If relevant, I am using Dev-C++. |
|
Re:
I am a total newbie to programming. I was hoping to learn how to write a program that prints out a string representation of a random card from a deck of playing cards. The programs should use either “A”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “J”, “Q”, … |
|
Re:
Hey guys, I am incredibly new to c++ and need a little help on a matrix multiplyer program... [code] #include <iomanip> #include <iostream> using namespace std; int main() { int **mat1; int **mat2; int **result; int row,col; cout<<"Please enter row/col"<<endl; cin>>row>>col; mat1 = new int *[row]; mat2 = new int … |
|
Re:
Hi, I want to perform a search with Python in this site: [url]http://www.draftexpress.com/search.php[/url] I want to search for a player who's first name is "james". The problem: The page with the result's url is: [url]http://www.draftexpress.com/search.php#results[/url] Obviously, when opening this page directly, I don't get the page with the results for … |
|
Re:
Ive made my binary tree in the following format [code=C] typedef struct node { int info; struct node *left; struct node *right; }*nodeptr; [/code] Im looking for a function that will accept the root pointer and print the tree in a graphical format. for eg. i want the output to … |
|
Re:
when I typed the command attrib it says, 'attrib' is not recognized as an internal or external command, operable program or batch file. And some other commands like 'edit'. And after the post of my pc , "INVALID BOOT.INI file, booting from c:\WINDOWS\.. so lame need help ^^ |
|
Re:
I am relatively new to perl, and I'm having a problem with loops. I'm trying to get a program for a simple number guessing game to repeat itself until you get the right number. Here is the code: [code] #!/usr/bin/perl -w $thinkingof = int(rand 10); print "Pick a number 0 … |
|
Re:
I created my own header file in C by creating the ff. files: myfile.h, myfile.c and main.c.Afterwards, I compiled myfile.c so I already have the object file for it, but the problem is when I compiled and run main.c this error message appeared: "Undefined symbol _sum". Please help me to … |
|
Re:
Hello everyone, I am currently in a C class and I am having trouble with the following exercise. I have started but I am stuck, can anyone help? You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which … |
|
Re:
Hello yet again... Anyway, I'm trying to convert a string that has the form of "1097.04", that is, decimal fixed point with two digits after the decimal point. My code currently reads this number from a file then stores it in a *char. Then when i try to convert this … |
|
Re:
I am trying to use the CalcOpticalFlowBM function but I don't understand hot it works. I want to find a motion vector for every blocks but I don't understand that the CalcOpticalFlowBM yields velX and velY. I wrote below code . [CODE]/* Create an object that decodes the input video … |
|
Re:
I'm trying to fill a string with the name of a file stored in a "fake memory" vector. Assuming I have a start pointer that directs me to the beginning of the string in my memory and I know the string completes with a NULL, how do I do this? … |
|
Re:
Hey everyone, So, for my C++ course I am implementing a Binary Search Tree. In this Binary Search Tree we are to create a function to copy the values of a passed array into a Balanced Binary Search Tree that will render a correct inorder traversal. I.E. an array of … |
|
Re:
Hey I need help with the math tutor. I need to be able to print out if the answer is right or not . Also let the user enter the number of math problems per set and what the max number will be for the set. If you could please … |
|
Re:
Hey there :) i am trying this part of code, which testing arguments on command line: [CODE] use Getopt::Long; GetOptions( "verbose" => \$verbose, "get" => \$get ); print "verbose = $verbose\n"; print "get = $get\n"; [/CODE] In my script i have several arguments, with which my script working (any sequence). … |
|
Re:
Hi, I'm trying to receive broadcast messages using C# code in an ISDN network with BRI interface at my end. I see the packets sent to the broadcast ip address (239.255.255.255) on some ports using Comm View tool. But when I try to listen to this IP address, it says … |
|
Re:
First some background, i am writing a stats program for my school, the way you enter stats is by a window that has a textbox that shows how many of that stat the player has, lets say pass thrown, and two buttons a plus and a minus to add or … |
|
Re:
[code]import java.util.Calendar; import java.util.Scanner; public class Main { public static void main(String[] args) { int userBirthDay = 0; int userBirthMonth =0; int userBirthYear=0; Scanner input = new Scanner(System.in); System.out.println("Enter The day of your birth"); userBirthDay = input.nextInt(); System.out.println("Enter The month of your birth"); userBirthMonth = input.nextInt(); System.out.println("Enter The year of … |
|
Re:
write a pseudocode to read a sequence of numbers terminated by 777. the pseudocode should count and print the number of negative values and zero values. the algorithm should also print the product of the positive number. |
|
Re:
Hi, I need help to make a perl program work. The program accepts an input (reaction) and then search for the input in a file and then displays the reaction on the same line. Input file - file.txt (A large file with no header and in the following format): A1_HTTT24 … |
|
Re:
I'm having a bit of a problem with a group project. We're supposed to use linked lists in it and I've already created classes for the nodes for the linked lists. The only problem is that I need to make the class point to itself but I'm not sure how … |
|
|
Re:
My program is able to create the folder fine but I wanted to know if there is a way to put the date and time in the title? C++ and using Visual Studio 2008 for Windows. [CODE]system("mkdir %SYSTEMDRIVE%\\Blebble\\Blabble");[/CODE] |
Re:
I am working on an assignment and was wanting to know if one of u guys could let me know if I have 1. correct before I go to 2. Here are the instructions... 1. read in the data then displayed the data. 2 Add the following a. add a … |
|
Re:
Hello Daniweb! I'm a beginner and C, and trying to make a program that asks a question in the main and takes an input from the user which jumps to the appropriate function. Here is the source. [code] #include <stdio.h> #include <stdlib.h> #include <math.h> void cm(){ float a; double b; … |
|
Re:
I have a code and its almost done. Its for a school project and I am stuck. I have DivSales and a CorporateSales.cpp. The programs should ask the user for 6 divisions quarterly sales. Display the results into a table and give a total of sales. My total feature is … |
|
Re:
Hello I had the seg fault last night, after making some changes, I don't have it anymore, the program compiles but it doesn't do anything ! " the program should read in data from the file in this following form : 2 Dell inspiron 299 Hp pavilion 499 " simply … |
|
Re:
Hi, I need to define some common variables in one file and use that file in my python script , Like in php we define some variable in (eg :definevble.config) file, later we will use that file using include method in php script. Plz let me know how to do … |
|
Re:
Hi, I would like to know the idea behind one issue. In some sites, when you register using your email id, an automatically generated email is receieved in your inbox, which contains a link that you must click to activate your membership. How is this done? Can anyone help me … |
|
Re:
Greetings! So my question is: Is it possible to create your own data type? Not a class, or a structure, that builds from predefined C++ types, but your very own. For example a 128bit integer type, or a very very long floating point data type, or a binary number type … |