8,298 Topics

Member Avatar for
Member Avatar for PirateTUX

I'm looking for a bit of advice. We're getting to the point in our game development where I need to start thinking how we're going to integrate scripting into the game engine. I was looking at Lua, but am also interested in what Perl or Python might be able to …

Member Avatar for hacker9801
0
111
Member Avatar for imtnan

Hello all, I am badly in need of a simple to use Matrix library for C++ that can handle complex data type.. I am working in Bloodshed Dev C++ under windows XP. Waiting anxiously if anybody can be of help!! Imtnan

Member Avatar for iamthwee
0
67
Member Avatar for bballj32

I am trying to solve a problem from a lab challenge. I'm having trouble on how to output the table and it must be done in [B]top-down design.[/B] Use a two-dimensional array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products …

Member Avatar for Agni
0
281
Member Avatar for knowledgelover

Hi there , where to put the code I want the service to perform after it finishes what it is supposed to do , for example : onStart the service should search a data base , then I want the service continue perform some tasks until a condition ,I know …

Member Avatar for Ramy Mahrous
0
54
Member Avatar for bokr66

Hi, I have a problem with showing text in different fonts, fontstyles, colors, alignments and sizes in richTextBox in C#. I read some articles on Internet about this, but I was't satisfied with them. Many thanks in advance. regards, Bojan

Member Avatar for bokr66
0
179
Member Avatar for avnerharel

A component developed in C# is used by application written in VB 2005. The component includes a field for data entry of numeric values, the field becomes active for data entry upon a mouse (touch-screen) click. When the component's data entry begins I want to activate a virtual keyboard on …

Member Avatar for avnerharel
0
302
Member Avatar for KK Murage

Hi I'm still in the basics in c++ and I really need some help in coding my 1st semester's project. I am required to create a program that is to be used at a tollstation to keep account on the number of vehicles using the road, the fees charged and …

Member Avatar for Narue
0
155
Member Avatar for knewc

So uh, i need some help with these functions..i gotta reverse, but i do not have the functions that can make it lowercase, or remove punctuation [code=cplusplus] #include <iostream.h> #include <string.h> char your_string[256]; char new_string[256]; void ReverseString(); void main() { cin.getline(your_string, 256); ReverseString(); cout << ReverseString(your_string) << "\n"; } void …

Member Avatar for Ancient Dragon
0
140
Member Avatar for dinozulf

i have a program to do which iv found to be quite difficult, can anyone please help me as i will need it to help me do my propa assignment for corse. thank you

Member Avatar for Sky Diploma
0
79
Member Avatar for MjLaali

Is there any way to pass a class as a function pointer. for example: [code=C++] int compare(int a, int b) { return a - b; } void sort(int *ar, int (*pf)(int, int)) { //a sorting algorithm. } class MyClass { bool condition; public: int compare(int a, int b) { if …

Member Avatar for bugmenot
1
136
Member Avatar for ohhmygod

Hey guys i have a small question here. [CODE] float angle0; printf("\nEnter Original Attack Angle Value in Degree: "); //input angle scanf("%f", &angle0); while(angle0<-180 || angle0>180) { printf("\nEnter Valid Original Attack Angle Value in Degree: "); scanf("%f", &angle0); } [/CODE] i dont get it when i put in 180 it …

Member Avatar for ohhmygod
0
92
Member Avatar for jesseb07

hello, I'm working on a personal project and I was looking for some help. I am writing a program that needs to store user profiles in an external file (.user_data.dat). Problem is that anyone with half a brain can find the file and with any text editor look at the …

Member Avatar for jesseb07
0
106
Member Avatar for Sparky1208

Hi all, I hope this question is in the correct area of the site. If not, someone please advise. I am creating Excel pie charts using C# Excel Interop. My problem is that my charts (plot area, I suppose) are never in the horizontal center of the chart area. However, …

0
66
Member Avatar for rbarzallo

Type PRecKey = ^RecKey; RecKey = Packed Record Key_Command : Array[0..2] of Char; Key_Pan_Type : Char; Key_Format : Char; Key_E_Pin : Array[0..15] of Char; Key_Terminal : Array[0..4] of Char; Key_Key_Type : Char; Key_OffSet : Array[0..3] of Char; Key_Pan : Array[0..19] of Char; Key_Pad_Char : Char; Key_Pin_length : Array[0..1] of Char; …

-1
59
Member Avatar for ok555

hi, i need help.. i have been working for about 4 hours trying to figure this out and im still lost.. the answer is probably simple but im new to c++ so please forgive me. off a site called informit, the following code is posted: [code] #define NELEMS(A) (sizeof(A) / …

Member Avatar for ok555
0
183
Member Avatar for georgioue

Guys hello, i`m a new member here [IMG]http://images.devshed.com/fda/smilies/smile.gif[/IMG] Hello to everybody...I need urgently help... I have an assignment for C++. "We have a collection of emails. This collection has emails from Linguist.org, these mails are legal. these are in a file called ling_filenames.txt. We also have a collection of spam …

Member Avatar for Ancient Dragon
0
143
Member Avatar for chinghong

my problem is when want to include the matlab build library dll file in c# project there will be an error! anyone have experience with this problem and solution for it? thanks! problem description this is my simple matlab code [code] function y = getMatlabMagic(x) y = magic(x); [/code] Then …

Member Avatar for azran
0
333
Member Avatar for isiebe

hi, is it possible to make any control (like button/textfield) transparant, just like the "alpha" method in flash? tnx

Member Avatar for scru
0
89
Member Avatar for CoAstroGeek

Python has some nice features for working with paths: [url]http://docs.python.org/lib/module-os.path.html[/url] Does anybody know of any C/C++ functions, techniques or libraries to do something similar? For example, if I'm passed a path on the commandline as such: x = "~/mystuff/../myfile.txt" In python I could get the absolute path as such: os.path.abspath( …

Member Avatar for vijayan121
0
183
Member Avatar for kanjali

HI, I need to append new tags to the existing xml document. PLease review this code , string txt = TextBox1.Text.ToString(); XmlDocument doc= new XmlDocument(); doc.LoadXml(txt); XmlElement el = doc.CreateElement("property1"); el.SetAttribute("name1", "C1"); el.InnerText = "This row is being appended to the end of the document."; doc.DocumentElement.AppendChild(el); doc.Save(txt); This code will …

0
108
Member Avatar for priyamsc

hi, i have used asp.net 2005 with c# language.i need a help. tat i would like to insert text box and dropdownlistbox. textbox for from date and todate.dropdownlist for department values..i have written storedprocedure...so automaticaly in the runtime it takes the parameter textbox... even if i put textbox and dropdownlist …

0
58
Member Avatar for Mark515

[code] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; static const int password = 1705898; int main() { int secondnumber; while(true); { cout << "Enter Password"; cin >> secondnumber; if (password = secondnumber) { cout << "Welcome Matthew"; } else { cout << "password Rejected"; } } system ("PAUSE"); …

Member Avatar for Ancient Dragon
0
106
Member Avatar for John83

Hi, I would like to write High perfomance server using C#. It would be desirable to hear offers and advices on this subject

Member Avatar for Renegade83
0
113
Member Avatar for priyamsc

hi i have used crystal report in my application..i have used filed from database wizard.it takes parameter field as text box. in runtime.but i wud like to create parameter text and dropdownlist as my wish...but its not coming and next thing is when i create dropdownlist and textbox for parameter …

0
52
Member Avatar for peachslasher

Hi, I've question regarding visiting and printing nodes for tree traversal. the main purpose of my program is to create tree for an arithmetic expression and then perform in-order and post-order traversal on the tree. The structure tree need to be hard-coded in the program using linked-list/pointer stored in one …

Member Avatar for Salem
0
152
Member Avatar for Ryano24

I wrote this code to re-create the classic race of the tortoise and the hare and everything compiles fine. Just the logic is messed up. When I run the program all I see is BANG AND THEY'RE OFF and who wins. I should be seeing a T for the Tortoise …

Member Avatar for vmanes
0
1K
Member Avatar for tah

Hi Sir Write a C program to count and print the total number of: upper case letters, i.e. ‘A’ to ‘Z’ lower case letters, i.e. ‘a’ to ‘z’

Member Avatar for jephthah
0
262
Member Avatar for eng.atia

Hi all, I want a valuable book that illustarte OOP concepts in C#. I hope that the book I'm looking for deep more in OOP concepts.

Member Avatar for seka208
0
80
Member Avatar for DevC++4.9.9.2

Hey, im trying to use pointers with a struct. I am having an issue in the function searchData. I can not get the pointer to compair with the string, it is still just compairing the actual adress or something else. Not sure if i even passed it right. Please help …

Member Avatar for VernonDozier
0
166
Member Avatar for fredmac

This suppose to be a simple coin toss program that tells when the coin is fliped it reads heads or tails and this is wat i got so far #include <stdio.h> int example (int h,int t ); int main() { int x1, x2; int x; printf(" Enter 5 to run …

Member Avatar for jephthah
0
203
Member Avatar for jade09091990

[code]how to validate alphabet character input? for example, i have these choices: a, b, c, d,,, the program will run but erratic. for example you've entered "d3" , how to solve this problem?[/code]

Member Avatar for Salem
0
56
Member Avatar for IT_Techno

Hi , Can any one tell me the Optimized & fastest way of taking backup & restoring my database that is in SQL Server through C# code. Currently I am using SQLExpress .Is there any Better approach of achiving the same? Regards IT_Techno

Member Avatar for JerryShaw
0
124
Member Avatar for SofMy

I can't run the programme, please assist to check the error. Thank you in advance for your assistance. Question: 1. Develop an application program that creates a list of integer test score value in an array, sorts the array in increasing order and searches it for a test score value. …

Member Avatar for Salem
0
216
Member Avatar for usaxray25

Hey guys-- I have been lurking on here for some time as a C++ student. I have a project to complete using cstring and strcpy() as a function within a "simple" program. The psedocode goes as follows: --program accepts 2 string array inputs(using getline) 40 total chars for str1 and …

Member Avatar for usaxray25
0
147
Member Avatar for teffie

Hi, Im new to these forums and i need help with this application. Application Requirements In this application you are to create a Three Shells Game. In this game there are three cups or shells that are upturned. For each new game the pea is placed at random under one …

Member Avatar for JerryShaw
0
105
Member Avatar for it2051229

I'm creating a simple C# program that deals with pressing the DELETE key button in the keyboard. so what I created a key press event, but seems like the delete key doesn't work.. i tried it with other keys and it's working fine... why?? and is 46 the keycode for …

Member Avatar for Jx_Man
0
2K
Member Avatar for manjusaharan

HI all I m new to asp.net.can any one help me by telling me about the method of opening a password protected web folder using c# in asp.net2.0 I dont have any idea about this. I m using mdb database for authentication. thanks in advance

0
80
Member Avatar for Sarjo

I am writing a c# application where I need to use matlab functions from my c# sharp code. From the beginning I used the Matlab Automation Server, which worked fine on my computer which has Matlab 7.4.0 (R2007a) installed. However, the application needs to be usable on computers with older …

0
54
Member Avatar for rok92

Hi Guys, So I am trying to use C++ and openGL to create a simple robot arm that will follow a traget on the screen. I am to use Inverse Kinematics and more specifically the Cyclic Coordinate Descent Algorithm. I have found a few different ways to implement this although …

0
49
Member Avatar for MClay

Hi there, im pretty new to c# and i'm facing some starting problems naturally. Currently i'm working on a project where i need to store data from flash in a xml file. I've managed to write the code for generating the xml but i didn't manage to retrieve the data …

Member Avatar for Ramy Mahrous
0
115
Member Avatar for rodideker

I have a Build Embedded .rtf file. I use this code to read the file: [ System.IO.[COLOR=#2b91af]StreamReader[/COLOR] FReader = [COLOR=#0000ff]new[/COLOR] System.IO.[COLOR=#2b91af]StreamReader[/COLOR]((System.Reflection.[COLOR=#2b91af]Assembly[/COLOR].GetExecutingAssembly(). GetManifestResourceStream([COLOR=#a31515]"LearnAndEarn.Credits.rtf"[/COLOR]))); [COLOR=#0000ff]string[/COLOR] str = FReader.ReadToEnd(); FReader.Close(); DedicationRichTextBox.Text = str; DedicationRichTextBox.Visible = [COLOR=#0000ff]true[/COLOR]; ] And it reads it fine. But when it displays it in the RichTextBox it shows all …

Member Avatar for robopolomsky
0
119
Member Avatar for Spaiz

I wasn't sure where to put this topic, web or software development... The questions is this: is there a way to build a website with C? (not PHP calling C application) I read the web for a couple of days now, but I can't really find any explanation how to …

Member Avatar for jephthah
0
58
Member Avatar for fredmac

parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for longer …

Member Avatar for jephthah
0
349
Member Avatar for M&M

I keen to write a program that reads a text from a file. Then i have to take each word from the text and change the word. If the word begins with a vowel, add the string "yay" at the end of the word. If the word does not begin …

Member Avatar for Ancient Dragon
0
97
Member Avatar for Jryzac

Hello, Looking for assistance for a coding problem I am having. I need to find a character, write the following characters to console, and stop at a particular character. Example: I need to write all characters between the FIRST '(' and FIRST ')'. Example text to parse: (((Write now))) example( …

Member Avatar for Ramy Mahrous
0
66
Member Avatar for mrnobody

Lets say I have a text file which contains a long list of 8bits data and i want to create a .wav or .au file from it. Forexample, my text file contains 8000 bytes for 1 second of audio with the sample rate of 8kHz. How do I create a …

Member Avatar for mrnobody
0
226
Member Avatar for khaniya_amol

please u said u did now i want to do same but actually i dont have time because our final year submission is goin on and also exams are there so plz can u help me for that

Member Avatar for wahabaziz
0
75
Member Avatar for algates0027

public partial class Form1 : Form { public Form1() { InitializeComponent(); Bitmap = new Bitmap(SystemInformation.WorkingArea.Width, SystemInformation.WorkingArea.Height); //editted grfx = Graphics.FromImage(Bitmap); //Editted } private void Form1_Load(object sender, EventArgs e) { GraphicsPath path = new GraphicsPath(); path.AddRectangle(new Rectangle(10, 10, 100, 50)); this.pathes.Add(path); path = new GraphicsPath(); path.AddPolygon(new Point[] { new Point(50, 150), …

0
55
Member Avatar for Black Magic

Hello, This thread is not about you solving my homework, infact i only go to secondry school so don't get it, this sounds weird but can you give me some homework examples brcause i want to learn C++ and i think it may help, please reply a.s.a.p :). ~ Black …

Member Avatar for Salem
0
109
Member Avatar for lolodede

until now u didnt solve my problem use c++ to input three words and then put them from largest to smallest using if statement

Member Avatar for Ancient Dragon
0
107

The End.