8,298 Topics
![]() | |
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 … | |
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 ![]() | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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; … | |
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) / … | |
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 … | |
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 … | |
hi, is it possible to make any control (like button/textfield) transparant, just like the "alpha" method in flash? tnx | |
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( … | |
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 … | |
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 … | |
[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"); … | |
Hi, I would like to write High perfomance server using C#. It would be desirable to hear offers and advices on this subject | |
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 … | |
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 … | |
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 … | |
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’ | |
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. | |
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 … | |
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 … | |
[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] | |
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 | |
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. … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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( … | |
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 … | |
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 | |
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), … | |
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 … | |
The End.