8,298 Topics

Member Avatar for
Member Avatar for daniweb2013

Hello, I'm trying to make SNAKE (Game) under C++ with using #include <graphics.h> Can anyone help me. Thanks

Member Avatar for PirateTUX
0
367
Member Avatar for bluejay_1111

New to the site, just need some help on this... Most of it is done, I just need to turn the wordInfo struct into a full-blown .h class. Any thoughts? It's attached... Appreciate it!

Member Avatar for bluejay_1111
0
186
Member Avatar for Duki

So, I've ordered two separate books for studying C#, and am sending them both back. One was Murach's C# 2005 and the other is Illustrated C# 2005 by Daniel Solis. Neither of them were written the way I like to learn; I prefer a textbook style of learning with exercises …

Member Avatar for Samson_ZXL
0
70
Member Avatar for sneha_venky

for my school project , i need a very simple game (can be textbased ) i need help pleasseeeeeee.........................:'(

Member Avatar for vijayan121
0
218
Member Avatar for Linda1

I am very new to C++ and one of my homework assignments involvemulti dimensional arrays. I was able to initialize and input and display the array (4x4) but the last step is to swap the data of the row to that of the column. Tried different ways and unable to …

Member Avatar for Linda1
0
128
Member Avatar for towhoe260

This is my assignment and im pretty confused. Our book is a horrible book, and i cant seem to understand much of it. So i was hoping maybe someone could point me in the right direction in getting started. tHis is what we are expected to do. Write a program …

Member Avatar for Dave Sinkula
0
145
Member Avatar for bc030400412

Write a TSR program that changes the background color of the screen to red every 5 second and then white next 5 second, And this continues until you press ‘Q’ It should not modify the text displayed on the screen. Hint: 1_ Intercept Keyboard interrupt (0x09H) 2_ Use video text …

Member Avatar for Ancient Dragon
0
284
Member Avatar for zandiago

[CODE] #include <iomanip> #include <cmath> #include <fstream> #include <string> #include<string> #include<iostream> using namespace std; int main() { int num1 = 0; int num2 = 0; char again = 'y'; while (again=='y') { cout<<"Please enter two numbers to compare "<<endl; cin>>num1>>num2; cout<<"The two numbers entered in order were "<<num1<<" and "<<num2<<endl; …

Member Avatar for zandiago
0
7K
Member Avatar for zandiago

Write a c++ program that will read in, from a file entitled "word.txt", an unknown number of single words (no spaces ). The program will then print out the word, move 2 tabs to the right, display the word with the first letter removed, move 2 tabs to the right, …

Member Avatar for zandiago
0
413
Member Avatar for zandiago

Good day. I recently purchased a TI-84 calculator and realized that it has some programming commands as a c++ compiler would. Is it possible to load a c++ program on a ti-84 calculator...thx

Member Avatar for zandiago
0
99
Member Avatar for Atlantistwo

Can someone tell me why this SQL Command at the end is not working? I am a noob, but I have tried everything I can think of and I am getting nowhere. There is no literature on how to do something like this... It would have to be my first …

Member Avatar for Atlantistwo
0
152
Member Avatar for woopsor

I am new to JSP and am having trouble with an if statement. [code=jsp] <c:if test="#{authorizedProduct.product.product.orderMethod}=='H'"> <h:outputText id="orderMethod" value="#{authorizedProduct.product.product.orderMethod}"/> </c:if> [/code] The order method does equal H because it will display that if I don't put in inside the if statement. Can someone help me with my if statement syntax …

Member Avatar for woopsor
0
68
Member Avatar for CaliVagabond

I've been tring unsuccessfully to find information on what each language, C and PHP, have to offer in terms of working with MySQL. Just wondering if anyone out there has preference for one or the other and why. I understand that PHP is supposed to have alot of built-in functionality …

Member Avatar for iamthwee
0
117
Member Avatar for terminateproces

Dear board, I'm (trying) to make lil socket app. Its a server app thats supposed to echo back the text I type to it. Problem is, when I telnet to it (i want telnet to be my client) it only accepts one character and spits back only one character. Any …

0
57
Member Avatar for ubercat

Hi all. I'm a new member [I]I posted the following in the stickied book thread as it seemed the most appropriate place for it. That was 2 days ago and no one responded so I probably guessed wrong. If I shouldn't have reposted, then I'm sorry. Here is the post …

Member Avatar for kako13
0
114
Member Avatar for zandiago

The assignment is : Write a C++ program that calculates the volume of 3 different geometric shapes. Your program should give the user a menu like the following and repeat until the user wants to stop. Volume Calculation Program Select the Number of Your Chosen Object 1. Dumbbell 2. Axle …

Member Avatar for zandiago
0
195
Member Avatar for GRaymer

I'm a student working on an internship, without a lot of guidence. I went to develop a program with C# not realizing that as a developer in the organization I have a different standard desktop than the rest of the organization. So on my computer I was able to develop …

Member Avatar for GRaymer
0
104
Member Avatar for chait_anya

Hi. I am having a problem. I have created .TLB type library in c#. in my c# application i have decalred two functions which returns string and string array respectively. Now, i am importing the type library into vc++ 6.0 application. i have created the interface pointer and using that …

0
74
Member Avatar for bodikon

So on my desk, i have nothing but a computer running Windows XP SP2. I want to connect a usb connector into my computer, into a component board with an LED. Then I want to create a program in C# command line that I can turn the light on and …

Member Avatar for Ramy Mahrous
0
113
Member Avatar for manjusaharan

Hi, I need help in copying and pasting text in notepad application using c#. I tried so by using sendKeys.sendWait() function but not able to do it. i used setForeGround("notepad"); sendKeys.sendWait("^A"); sendKeys.sendWait("^C"); sendKeys.sendWait("^V"); but it is showing error that Changes are not allowed while code is executing on the execution …

Member Avatar for manjusaharan
0
98
Member Avatar for horntastic

I am using Turbo C++ for Windows, version 3.1 at home. At school, we are using a similar version (maybe 3.0 or 3.1), but with a more blocky display. (with block cursor and stuff. my one at home looks more... modern) [EDIT] The school version is Turbo C++ 3.0, possible …

Member Avatar for horntastic
0
153
Member Avatar for zandiago

I need a head-up on this program....i really don't know where to start....however for section one, i'm guessing we'll have to use for loop from 1000 to 9999...because of the fact that they show the range of the samllest to largest 4 digit #'s. In section two I guess we'd …

Member Avatar for zandiago
0
245
Member Avatar for zandiago

Good day: There have been similar posts to my question...but i don't see what I'm doing wrong. Our professor wanted us to use a switch/case statement, we started transversing a string....The assisgnment : Write a program that will read in a one line phrase from a text file named “vowels.txt”. …

Member Avatar for zandiago
0
201
Member Avatar for fatihpiristine

Hello guys, I want to improve up my skills programming in C and Phyton on Linux. I have no idea which version of Linux is good to do this. So far I have tried Fedora 7, Slackware and StartCom Enterprise. I couldnt find what I really want. Few years ago …

Member Avatar for Salem
0
101
Member Avatar for zmariow

Hi all, How can I make, for example, all my Buttons have the same look (Maybe the same red background)... Of course I don't want to go to every button and set it's background to red... I want to set the value in one place for all buttons. Any ideas? …

Member Avatar for zmariow
0
347
Member Avatar for jacques95

Hello im trying to learn c++ but cant find a program to use. I dont really know what to write on so can anybody tell me? thanks :)

Member Avatar for jacques95
0
144
Member Avatar for jhen
Member Avatar for gidos

what book will i use for internet opening and function with using visual c++ 6.0 compiler please help me gidos

Member Avatar for Aleckaola
0
25
Member Avatar for JC7

I've been learning the .NET framework in vC++ for a while and I'm thinking of going to C#. I'd like to here the opinions of others who have experience with both. Thanks.

Member Avatar for nicentral
0
194
Member Avatar for nedwards

Hi, I'm working on this project and it requires to manually control a digital camera. I have the dll that is supplied by Cannon, but the dll is unmanaged the the demo project they have with it is in C++ or C. I've been doing a lot of research and …

Member Avatar for nedwards
0
193
Member Avatar for mujahid_zfr

How to execute sound codes in C++ by using external speaker? Could someone please give example code for me(The basic one)

Member Avatar for Sturm
0
56
Member Avatar for annagraphicart

I really need to do this program, so I need ALOT of help. I want the program to output a question asking "Enter John Smith's Bowling Score: ", and that repeated abotu 20 times with Different names. (DO I need to store the names? if so, how?) What the user …

Member Avatar for Sturm
0
149
Member Avatar for nagramana

I am trying to call a [URL="http://www.daniweb.com/forums/post398239.html#"]C#[/URL] function which returns byte array from C++. Can anybody have some sample [URL="http://www.daniweb.com/forums/post398239.html#"]code[/URL]. Thanks njvr

Member Avatar for Ramy Mahrous
0
54
Member Avatar for zandiago

So far is what I've got: [CODE] #include<fstream> #include<iomanip> #include<string> #include<iostream> #include<cmath> using namespace std; int main() { float matric = 47.60;//matriculation fee int hrz;//semester hours float regroom = 387.29;//rate for regular room float acroom = 496.49;//rate for AC room float dip = 38.00;//diploma fee float food = 619.66;//rate for …

Member Avatar for iamthwee
0
2K
Member Avatar for nash_ph_41

I'm searching the entire web which i can,for the example or discussing about using flash in C# application I find one in Mike Chamber( [url]www.mikechambers.com/blog/2003/05/30/integrating-flash-with-c-applications[/url]) but it just discussion only. If you have have any suggested web site or tutorial. can you post to me? I'm planing to integrating flash …

Member Avatar for Ramy Mahrous
0
122
Member Avatar for boja123

Hi all, I have given this program to convert it to MIPS code in SPIM and print anapshot of the registers and the results . and then assemble the MIPS instructions to machine code writing the out put in HEX format thank you for help //this program compile with C++ …

Member Avatar for boja123
0
111
Member Avatar for daniweb2013

Hello, I'm trying to make SNAKE (Game) under C++ with using #include <graphics.h> Can anyone help me. Thanks

Member Avatar for Narue
0
75
Member Avatar for koolbabu

Hi, I am a Programmer.Can any please explain about equate function in C. Thanks Koolbabu

Member Avatar for Ancient Dragon
0
69
Member Avatar for mohanmca

hi , how could i able to upload multiple files into the web browser using asp.net? the task is we need to use the tree view to brose the files and inside the tree view we will choose the required files by checking on the check box and thus on …

Member Avatar for Infarction
0
90
Member Avatar for m_meena

Hi, I have two exes, one is in C# and other in C++. The C++ exe is a windows service. i want to notify my C# executable with events occuring in the windows service. How can i call a c# code frm C++. The application is a simple form based …

Member Avatar for vijayan121
0
87
Member Avatar for iamthwee

[QUOTE=~s.o.s~;277435]If you use C++ strings your life would be much simpler coz then you can do something like: [code=cpp] #include <string> const std::string whiteSpaces( " \f\n\r\t\v" ); void trimRight( std::string& str, const std::string& trimChars = whiteSpaces ) { std::string::size_type pos = str.find_last_not_of( trimChars ); str.erase( pos + 1 ); } …

Member Avatar for Hamrick
0
383
Member Avatar for m_meena

Hi, I have two exes, one is in C# and other in C++. The C++ exe is a windows service. i want to notify my C# executable with events occuring in the windows service. How can i call a c# code frm C++. The application is a simple form based …

Member Avatar for Hamrick
0
154
Member Avatar for luitelm

Dear all, How can i read a excel file as input, then select only some wanted coulums and rows for this file and again save it as excel file. Hope to let help from you all. Sincerely, Monoj Sharma Luitel BHUTAN

Member Avatar for VatooVatoo
0
101
Member Avatar for hapiscrap

I ran the program in Xcode with Java Tools: [code=cpluslus] #include <iostream> using namespace std; main() { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "ENTER THE EMPLOYEE ID: "; cin >> employeeid; cout << "ENTER THE HOURS WORKED: "; cin >> …

Member Avatar for vijayan121
0
148
Member Avatar for daniweb2013

Hi, I'm using suse Linux 10.1, i wonder if there is any good compiler such as turbo c v.3 in Microsoft windows?! if anyone knows please help me.

Member Avatar for iamthwee
0
95
Member Avatar for PoonamDwivedi

Hi All: I have started to teach myself C#, if you can give me links // refs to content that can help start from fundamentals and then progress from there. I appreciate your help in this matter. Thanks, Poonam

Member Avatar for pygmalion
0
173
Member Avatar for fhshockey05d

I need to set up a serial communications port using DEV C++ to the CMUcam2 under windows. I have to send small strings such as "GH" "GM" and receive packets of information of varying sizes that will need to be parsed to analyze the information given. I've found some code …

0
65
Member Avatar for qaiser

write a programe in c to find the square and cube of any number and print

Member Avatar for TkTkorrovi
0
110
Member Avatar for anvir

Alright, here's the beef. I'm basically writing a program for a PIC18 microcontroller. There's just one problem, my main asm file, it compiles C into assembly and then turns it into bytecode, is too big to be loaded into memory. So I'm getting compiler errors telling me the section is …

Member Avatar for Salem
0
145
Member Avatar for qaiser

The End.