8,298 Topics

Member Avatar for
Member Avatar for thehivetyrant

I was wondering if theres anywhere to get C++. You see i have work to do for homework and i'm trying to do it at home but it's quite hard to do without the program. Is there any free or trial software that can help check my code for ...lets …

Member Avatar for hajiakhundov
0
76
Member Avatar for crispusx

Hello, I have an app that use an excel component(ocxt.com). This component have a strange behavior, which I reproduced it with Interop.Excel. Bellow is the functions with I open and close an excel file programatically: [CODE] private ApplicationClass app = null; private Workbook book = null; private Worksheet sheet = …

Member Avatar for crispusx
0
253
Member Avatar for xcorpionxting

I'm working on a small C++ project that requires using classes. I'm supposed to create a super class Animal and the sub classes Fish, Bird and Insect. In the main function, the object of type animal is created. I need that object to 'become' one of the 3 other types …

Member Avatar for xcorpionxting
0
204
Member Avatar for react05

Hey guys, how would i convert the code in option ascending and descendingGPA to where it sorts all students in ascending order by lastname and all students in descending order by gpa. thanks! [code] #include <iomanip> #include <iostream> #include <fstream> #include <cstring> using namespace std; struct StudentRecord { char lastName …

Member Avatar for Ancient Dragon
0
107
Member Avatar for kool.net

Hiiiii, In my code i have to open mysql connection on all forms, but i dnt wnt to do that, actually i want at the time of log in I connect to datav=base & open connection then use this open connection on all forms and when i logout then close …

Member Avatar for MeSampath
0
172
Member Avatar for Medic873

Okay im making a basic program to formate some excel files for are workers. But it take place once they click a start button on form 2 then that starts a background worker and the back ground worker will call opon a textbox in form 2 to see what to …

Member Avatar for ddanbe
0
147
Member Avatar for dapage

I have been working on a C++ program that is a tic-tac-toe game. The problem is that after I win or lose, the program does not end. Here's the code I have written so far (I even wrote comments to make it easier): [CODE] #include <iostream> #include <ctime> using namespace …

Member Avatar for jonsca
0
153
Member Avatar for Annettest

Hello everyone: I am a C++ newbie; I am interesting in using C++ in my work on coupled fluid flow-chemical reaction problems. I apologize in advance for what is probably a very simple question. I would very much appreciate some help to get me on the right track! My goal …

Member Avatar for Nick Evan
0
239
Member Avatar for kirtics344

Time limit : 10 secs. (The program must produce output for all test cases within the stipulated time) A spaceship carrying a convention of high ranking officials had a close shave with a meteor. They are now scattered over the surface over a meteor and the spaceship is beyond repair. …

Member Avatar for coolnik
2
90
Member Avatar for wiselka

[code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CarsRUS { public partial class Cars : Form { private SqlConnection conn; private SqlDataAdapter daAddresses; private DataSet dsAddresses; private DataGrid dgAddresses; private const string tableName = "CarRUS"; public class Customer { …

Member Avatar for sknake
0
193
Member Avatar for andrewglasgow

Hi I have A full program which I have written from google and other reference sourcesand have now came to a bit am stuck at I have created two new classes and this scrolls through the items information when I click the next button but I cannot get it to …

Member Avatar for ddanbe
0
94
Member Avatar for vikas05nitb

hello guys..!! i m having problem with logout code in asp.net with c#. this logout code should end session, disable browser's back button and and if somebody try to login by paste the url of any user account page, he can't. plzzz help thank you in advance..

Member Avatar for Ramesh S
0
109
Member Avatar for didijc

Hey everyone, Happy Thanksgiving first and foremost... Second, I am attempting to build my own HTML Parser in C++ but I have no idea where to start... I've looked at some of the examples and libraries out there on the web, but none of them really helped... If someone could …

Member Avatar for didijc
0
550
Member Avatar for Calaesto

Hi, No excuses: my problem is that I can't get my code to check if a certain record exists in a MSA database. My code needs to check if the database contains a row where 2, 3 or 4 specified fields exist. But, as mentioned, at the moment it only …

Member Avatar for Calaesto
0
1K
Member Avatar for thisismyuname

Hallo All, I am a beginner in C++ and currently need help in finishing the following task: I need to write an UDP code(C++) which sends and receives a random number (between 0 to 100). On the receiver's side there must be an User Interface showing the number received graphically. …

0
68
Member Avatar for karthikjohn

Hi, How to sent gridview with content to a friend in Asp.Net using c#? if any one know the answer pls reply me , As soon as possible

Member Avatar for emala
0
37
Member Avatar for josephjohn

Hi, I am building a C#.Net application for sending sms through GSM Modem in a mobile phone, I am able to send the sms with this application but the problem is I need to display the inbox list in the mobile. I searched a lot to retrieve the inbox list …

Member Avatar for mr.mount
-3
105
Member Avatar for j_williams18

Can anyone help me. I have a c++ project to do. The program must simulate a vending machine. I will post what i have so far. a data file must be hardcoded into it which provides the different drinks.[code]#include <iostream> #include <fstream> #include <string> using namespace std; const int SIZE=54; …

Member Avatar for j_williams18
0
610
Member Avatar for facadie

i can't find the code to read for particular info from textfile. is that even possible? eg. [data store in text file] 01/11/2009 12:30:22,1 01/11/2009 12:35:22,2 01/11/2009 12:55:22,1 01/11/2009 13:30:22,0 01/11/2009 13:59:22,1 01/11/2009 14:30:22,0 02/11/2009 15:30:22,1 02/11/2009 15:45:22,0 02/11/2009 16:30:22,1 02/11/2009 16:55:22,0 and i'm calling the date 01/11/2009 so the …

Member Avatar for sathishkumar.j
0
60
Member Avatar for n3r3d

Hello, i have one question for reading from file. I get data from file ulaz.txt and i want to data in there would be stored like [CODE]some text;1934 text 2;2342[/CODE] for now its stored like [CODE]sometext 1934 text2 2342[/CODE] so i want to be able to use space between text …

Member Avatar for pecet
0
259
Member Avatar for Mariam786

[B]Problem Statement: File Handling in C/C++[/B] On the basis of the given scenario create a file Expenses.txt, Open the file and copy into another Expenses2.txt, Also show output on screen A college has announced the total budget of 50,000Rs.for each game. Games are done four times in a year. Take …

Member Avatar for Clinton Portis
-1
195
Member Avatar for IT_Techno

hi every one, i need your help how to upload and download any file type to/from sql DB (sql server 2005) using c# windows form application i need to upload and download image type and doc type or pdf type or any else type . i need these types to …

Member Avatar for eURe
0
2K
Member Avatar for learner.11

hi friends I need to learn asp.net (c#) web application. I need to create a very simple login page with 2 textboxes(userid,password) and one button for submit.Given userid -Admin,password-Admin If login is successful,it has to redirect to another page ,else it shows a error message says,Login failure! I believe this …

0
140
Member Avatar for RogerBailey

I am a student This is my very first post in this forum. I have been taking this class in C# concentrating on window forms. I have for the most part been able to figure out how to do what I have been assigned without outside help. My grade to …

Member Avatar for ddanbe
0
180
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Member Avatar for Frederick2
0
252
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Member Avatar for RoyMicro
0
176
Member Avatar for hendyhanusin

Dear friends, do you know how to convert the following codes into C # ? Tks, hendy [code] BYTE ResultSN[11]; char SN[100]; BYTE TagType; if ((TagType == 4) || (TagType == 5)) { memcpy(SN,ResultSN, 7); StrMsg.Format("Card Serial: %02x %02x %02x %02x %02x %02x %02x ",ResultSN[0],ResultSN[1],ResultSN[2],ResultSN[3],ResultSN[4],ResultSN[5],ResultSN[6] ); } [/code]

Member Avatar for Johan Stolk
0
394
Member Avatar for fuggles

I have one piece of code that has to be written in C++, another has to be written in C#. So I decided that I will write a class in C++ that updates the information. Then is read by the C# application. Would it be as simple as compiling all …

Member Avatar for jonsca
0
123
Member Avatar for Ciganjo

can anyone tell me if its possible to add more then one item to a single list field to a TListBox Say you have a text file, and the file stores records in the format: Name Barcode Price Quantity Im tryinga to load that data to a list box into …

Member Avatar for hauda
0
76
Member Avatar for Voulnet

Hello folks. I have done a good amount of research and I'm still unable to determine how I can perform real emulation of a joystick. What I found on the web was using the mouse movements to simulate a joystick that moves an imaginary little ball. No, what I wish …

Member Avatar for Voulnet
0
3K
Member Avatar for mr.white

Dear forum members, I'm working on an accounting software, which I was planing to do using C#. Now that I see there is WPF that I can use instead of WinForms, I would like to ask you a couple of questions. [LIST=1] [*]For an account software, which I would like …

Member Avatar for DdoubleD
0
221
Member Avatar for gogodr

I got it when trying to initialize my array of sprites (( the only one trowing me null is the sprite2D[] AllianceCharacters declaration: [CODE]sprite2D[] AllianceCharacters; static string Cardspath = Directory.GetCurrentDirectory() + "\\Content\\Cards"; string[] ActionBar = Directory.GetFiles(Cardspath + "\\ActionBar\\"); string[] Equips = Directory.GetFiles(Cardspath + "\\ActionBar\\Equips"); string[] CharactersAlliance = Directory.GetFiles(Cardspath + "\\Characters\\Alliance\\"); …

Member Avatar for Ravenheart
0
102
Member Avatar for turtlez

Hello, This is what i need: I have a php file on my website ([url]http://example_site.com/php_file.php[/url]) ((and no, that isn't the actual site)) And i have some C++ knowledge. Now how can i get C++ to send a variable (eg: name) to my php file. ((Client -> Server)) I have no …

Member Avatar for turtlez
0
116
Member Avatar for Gerard I MUFC

Hello everyone, pleased to be on the forum. I'm currently undertaking some game development in Visual Studio, in my spare time. I've been programming for a few months, in Java, and now am having a go at C#. I have however run into a little snag with lists. I'm trying …

Member Avatar for Gerard I MUFC
1
354
Member Avatar for pkuchaliya

hi to all, I have design a Application that takes input from the Web cam or other video devices. and have to add some frames in the Live video and then display. i have study out the direct sdk , which provide the flexible enviornment. but i dont get the …

Member Avatar for pkuchaliya
0
184
Member Avatar for brightsolar

[CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; namespace CoinsExercise12StephenBarDev { public partial class FrmStephensCoinage : Form { Array ValueOfCoins = Array.CreateInstance(typeof(String), 101); double CoinInput; public FrmStephensCoinage() { InitializeComponent(); ValueOfCoins.SetValue("0.00", 0); ValueOfCoins.SetValue("0.01",1); ValueOfCoins.SetValue("0.02",2); ValueOfCoins.SetValue("0.03",3); ValueOfCoins.SetValue("0.04", 4); ValueOfCoins.SetValue("0.05", 5); ValueOfCoins.SetValue("0.06", 6); ValueOfCoins.SetValue("0.07", …

Member Avatar for Geekitygeek
0
100
Member Avatar for roraa

[CODE]itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)} else // new item {olditem = itemlist[item_num].quan itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url); items_ordered = item_num item_num = item_num + 1 }[/CODE] The above code is in javascript. the value of 'itemlist' is set whenever i click on additem in different html pages. I …

Member Avatar for chandru7
0
107
Member Avatar for viper77

Hey All, not sure if i'm correct here but i will try. I'm creating at the moment a SMPP Server / Gateway in c#. The server itself is working fine but i have one little thing to finish the work (as ever). When receiving a new message through submit_sm i …

0
52
Member Avatar for EvolutionFallen

Hello, My professor has asked me to write a C# GUI for a C++ program. I did not write the C++ program (hell, I'm not even completely sure what it does -- something to do with pattern recognition). I wanted to know how one would go about writing a C# …

Member Avatar for DdoubleD
0
865
Member Avatar for deepas

i'm looking for the demo projects for developing web app using c#.net 2005 as i'm new with web developments... i've begin connecting with database(sql 2005) now i need for validation & other things for my projects.. anyone like to share their simple project(demo) plz.....

Member Avatar for Sals
0
196
Member Avatar for Daniel_Crouse

Hi I'am a beginner in C#. I would like to know how to connect to a database using C#. I'am using Visual Studio 2008.

Member Avatar for Daniel_Crouse
0
128
Member Avatar for aliiya

hi! I am trying to insert data from textboxes in sql server 2005 database using dataset(table adapters) in c# windows application herez the simplest coding that i know but its not working. I have made two tables in my database i.e. product and country table. In country table adapter i …

Member Avatar for Marcwolf
0
2K
Member Avatar for roraa

[CODE]itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)} else // new item {olditem = itemlist[item_num].quan itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url); items_ordered = item_num item_num = item_num + 1 }[/CODE] The above code is in javascript. the value of 'itemlist' is set whenever i click on additem in different html pages. I …

Member Avatar for mikiurban
0
300
Member Avatar for Alinthea

Hey guys. I am currently trying to get to grips with C++ and I am trying to create this little program. What I am trying to do is create a 'square' program, that prints out the entered number from the user, then prints the *'s to create a square. However, …

Member Avatar for mrnutty
0
89
Member Avatar for fishsqzr

I am trying to use form inheritance in C#/NET 2.0 and find that some things (which were possible in other systems) do not seem to work here. Actually, even inheriting a form seems do be a bit of a chore (and the C# Help does not mention it at all). …

Member Avatar for dhar_sudipta
0
177
Member Avatar for ljianyih

For any beginners who are interestd in making games, you can try out the xna game development. You dont need to have any programming experience and within a short time, you can create an amazing game. You can search in you tube for the games created using Xna (since Xna …

0
75
Member Avatar for wesleychin

Hi guys, if anyone can help me with the basic C# programming concepts, please send me an email at <email snipped> and I can email you my project for you to see what the problem is with it. It is almost complete but it keeps throwing an exception and I …

Member Avatar for Geekitygeek
0
138
Member Avatar for shine_jose

I am trying to do grouping the rows according to one field but its getting two rows in detail section of grouped rows instead of one ie same row details is getting duplicated one more time.I try ed the linking of the tables selected for the report all into inner …

Member Avatar for aswiniragunath
0
136
Member Avatar for silkyheart

umm... i have this school project... and i wanna make a game using c++... but i dont know how to do it... so please... any suggestions?

Member Avatar for Nick Evan
0
73
Member Avatar for 1qaz2wsx7

Hi :) I want to click on a button and open the mail box so i can put message and send it, how can i do that ? Thanks.

Member Avatar for Seema
0
2K

The End.