8,298 Topics
![]() | |
Hello, I'm trying to make SNAKE (Game) under C++ with using #include <graphics.h> Can anyone help me. Thanks | |
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! | |
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 … | |
for my school project , i need a very simple game (can be textbased ) i need help pleasseeeeeee.........................:'( | |
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 … | |
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 … | |
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 … | |
[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; … | |
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, … | |
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 | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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”. … | |
![]() | 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 … |
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? … | |
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 :) | |
what book will i use for internet opening and function with using visual c++ 6.0 compiler please help me gidos | |
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. ![]() | |
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 … | |
How to execute sound codes in C++ by using external speaker? Could someone please give example code for me(The basic one) | |
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 … | |
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 | |
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 … ![]() | |
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 … | |
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++ … | |
Hello, I'm trying to make SNAKE (Game) under C++ with using #include <graphics.h> Can anyone help me. Thanks | |
Hi, I am a Programmer.Can any please explain about equate function in C. Thanks Koolbabu | |
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 … | |
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 … | |
![]() | [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 ); } … |
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 … | |
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 | |
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 >> … | |
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. ![]() | |
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 | |
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 … | |
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 … | |
The End.