8,298 Topics

Member Avatar for
Member Avatar for lee.j.baxter

Hi, I've worked with the Speech API in the past (VB6), and I'm now looking to use it in my project. For those who haven't read previous posts of mine, I'm developing an AI system in C#/.NET which learns from the internet. Well, I'm going to say I told a …

Member Avatar for kvprajapati
0
207
Member Avatar for NewbyOneCanuby

Question is: Should I Declare a Class that is an Array not declared as such but is. Or should I declare the Class with only the members that it contains knowing I must use some of them 6 Times at the same time? All in the same string. like in …

Member Avatar for NewbyOneCanuby
-1
193
Member Avatar for aravinda reddy
Member Avatar for templersstorms

Ok, so I am loading data from an XML file into a dataGridView. I have several entries in the XML file and would like each one to create a button next to it. After some searches it looks like I either have to put it in a <code> or <c> …

Member Avatar for templersstorms
0
102
Member Avatar for Deey

Greetings. i have a program which dynamically creates panels and stores them into a panel array. each panel has added mouse click action event. what i need to know is how to determine on which panel i have clicked on? thanks.

Member Avatar for Geekitygeek
0
102
Member Avatar for GSPprog

I am trying to get a program that gets a list from a txt files outputs it. then inserts a node into the list and the list grows dynamically. Everytime I insert into the list the list is filled with the same values following the insertion point. For this example …

Member Avatar for GSPprog
0
270
Member Avatar for xschecterx

Hello, I'm trying to print out on the screen the the sum of a perfect number, and i can't quite figure it out how to code it. For example I now 6 is a perfect number so i need [ 6= 1+2+3 ] to print out on the screen. Any …

Member Avatar for clutchkiller
0
102
Member Avatar for SimonLarsen

I'm working on my first game in C++ and SDL. The game compiles and runs perfectly on both my boxes (Arch Linux and Windows XP). When two of my friends were to test the game, one of them (running Windows Vista) said his machine BSoD'd every time he ran the …

Member Avatar for SimonLarsen
0
237
Member Avatar for DrewDodson89

My program is able to create the folder fine but I wanted to know if there is a way to put the date and time in the title? C++ and using Visual Studio 2008 for Windows. [CODE]system("mkdir %SYSTEMDRIVE%\\Blebble\\Blabble");[/CODE]

Member Avatar for DrewDodson89
0
228
Member Avatar for rocco_h

Hi guys: Let's say somebody may change the extension of a .doc or .mp3 file to .wav, in my application, I want to check to make sure if a file is actually a .wav file. How do I do this in C# ? Please let me know, Thanks, Rocco

Member Avatar for Diamonddrake
0
1K
Member Avatar for tango2009

I have this sprite that I am printing out sf::Image aNimat; if(!aNimat.LoadFromFile("images/fish.png")) std::cout<<"File not found fish.png"<<std::endl; however I want to print it out at random places and in random numbers. Can anyone suggest how I would go about it?

Member Avatar for mrnutty
0
58
Member Avatar for dumbncool

Hi, I recently came across a code which had the below lines. [code] unsigned int n = 10; n ^= (unsigned int) - 1 ; [/code] It is not clear to me what the second line does. Anyone can help please :)

Member Avatar for jephthah
0
124
Member Avatar for JamesGeddes

Hi Everyone, I'm making a windows mobile app in C# that aims to help those affected by Alzheimer's Disease Part of it needs to send text messages at 5 minute intervals, however, the rest of the C# program needs to continue at the same time. I know that when you …

Member Avatar for Cory_Brown
0
133
Member Avatar for eliza420

My problem is how to seek or search a word from my text file. here how it done. I want to search a word "Computer" found in my text file, and will output or will be print of screen as "Computer been found!" if the keyword are found and will …

Member Avatar for Fbody
0
170
Member Avatar for Aurorian

Hello Daniweb, I'm new to C and I need help with this basic calculator. It's supposed to calculate investment, only it never gives me the correct result Here is the source, [code] #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <math.h> int main() { double result; int a; int b; int …

Member Avatar for Aurorian
0
200
Member Avatar for sumit_coder

Hii Friends This is the 1st time I am using a C# forum. I get a feeling that I have reached the right place. I am building a C# Windows Application. I have used WMP(Win Media Player) on my main form to run some URL. It's playing good,no probs there. …

Member Avatar for kvprajapati
0
158
Member Avatar for maria_mj
Member Avatar for apegram
0
4K
Member Avatar for dieter22

Hi there! I'm new to c++ and I'm having problems with ifstream. I assume that my question is pretty stupid but here you go: I've got something like: [code=c] ifstream infile(inname); [/code] Furthermore I do have an array - let's call it Array - which contains several filenames I want …

Member Avatar for TerishD
0
388
Member Avatar for Abdel_eid

i need a c++ compiler with a graphical user interface which can easily be used and that contain many option like for example microsoft visual ,simply i can write the code on a gedit and compile it by using : g++ "file name" -o test ./test but it is so …

Member Avatar for Abdel_eid
0
149
Member Avatar for aravinda reddy

I want C# code to get similar text in both the word documents.... can anyone tell me how to get it...Its urgent

Member Avatar for kvprajapati
0
56
Member Avatar for sikeufoo

Hi fellow forumers...I am new to this forum and programming. Regarding the above topic..Is there and code that solves this sort of question? My question:A program that input 10 integers and find the largest value. Thanks very much!

Member Avatar for Fbody
0
198
Member Avatar for daniwebrandom

C++ program creating array the uses the dot product? normalized dot product // Matches the Signal with the Pattern Signal using the "dot product" // of Signal and Pattern divided by the square root of the energy of each. // According to the Cauchy-Schwartz inequality, the result will be // …

Member Avatar for jonsca
0
192
Member Avatar for sedalnas

Hi, I'm new to sqlserver so i has a lot of confuse in working with the user defined types and my C# app , i mean that the problem is how to pass the variables from my c# app to a stored procedure or function in sqlserver , if some …

Member Avatar for kvprajapati
0
45
Member Avatar for Xufyan

Hello everyone i am new in C language and need some basic help. see this program, [CODE] void main(void) { int a,b; clrscr (); { for (a=1;a<5;a++) { for (b=2;b<6;b++) { printf ("value of a is %d , value of b is %d \n",a,b); b=a+1; a=a++; } } } getch(); …

Member Avatar for shah1248
0
296
Member Avatar for sanz

hi i am trying to retrieve picture in picture box from db but my code is not working. [B]INSERTING PICTURE IN DATABASE[/B] [CODE] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { button1.Hide(); button2.Hide(); comboBox1.Hide(); textBox1.Show(); foreach (object ab in barcodes) { string sto = ab.ToString(); string str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and …

Member Avatar for pauldani
1
1K
Member Avatar for rockstar8577

Hello i'm having trouble reading from files from fstream. I want to skip a word but don't know how to do so with input from files. [code] myfile >> avatar.name >> avatar.name >> avatar.name; myfile >> avatar.hp >> avatar.hp >> avatar.hp; myfile >> avatar.mana >> avatar.mana >> avatar.mana; myfile >> …

Member Avatar for jonsca
0
85
Member Avatar for priyadharshini.

hi i am in need of password recovery in asp.net with c# as code pls any one knows raply me

Member Avatar for kvprajapati
0
31
Member Avatar for kurtzky

Hello. Good day. I have this problem with my current program right now. I have a separate report created in Seagate Crystal Reports, and I'm integrating it to my program in C#. I'm using CrystalDecisions and calls the ReportDocument class. Under that report, I have many subreports. What I want …

0
122
Member Avatar for whoamineo89

Hello oh helping minds I have a dilema...I've got to create a C language address book and not C++ or turbo C...I've already done a majority so far but I need help with a certain problem if there are any other problems please let me know. I keep getting an …

Member Avatar for Ancient Dragon
1
5K
Member Avatar for sandeshps

I'm going to build a text editor in Turbo C++ 3.0 , but i don't know how a text editor works . I want to know the working of text editor , any tutorials ? Please help

Member Avatar for Ancient Dragon
0
45
Member Avatar for farad

Hi there guys thanks for you help. Basically I have created a c# form based rot13 encryption program. The problem I am having is implementing these into a class with methods which can be accessed from the from. In the main from I have a textbox called message textbox I …

Member Avatar for farad
0
1K
Member Avatar for PDLajus

Hello to every one, I am writing a simple web browser on c# 2008 express edition using WPF. It is working fine with www websites and display all content correctly. But if I want to open some local webpage - for instance "file://C:1/1.htm", it is save the webpage instead of …

Member Avatar for PDLajus
0
114
Member Avatar for Coder2009
Member Avatar for Stefano Mtangoo
0
112
Member Avatar for kilon666

I want to read data from a file with the following information: -An integer n (between 1 and 5) -n Rows of n integers Example: [CODE]3 8 1 6 3 5 7 4 9 2[/CODE] Which means displaying a 3x3 matrix with the numbers 8 through 2 each in a …

Member Avatar for Ancient Dragon
0
142
Member Avatar for janhoy

hi, can anybody send me the code for retrieving drug information and price list using access database and C# code with just two tables. thanks

Member Avatar for Geekitygeek
0
103
Member Avatar for jonsca

Since mid-afternoon the text in the C forum has been showing up centered on the page (thread listings, threads). I'm using Firefox 3.58. I just checked on IE 8 and it looks ok except that the Intel banner ad is in the wrong place. Anyway, just thought I would let …

Member Avatar for jonsca
0
182
Member Avatar for ghanathe

Hiiiii!! Can any one help me, how to retrieve information of employee in text boxes if i enter employee number in c# using data adapter and also why we use data adapter? plzzzzzzz.... Thanking You!!!

Member Avatar for kvprajapati
0
6K
Member Avatar for erogol

I have coping with radix sort implementation for numbers which have different length, already I have problem about coding Radix sort for integers and now I need to consider different length numbers please help! Also the other problem is I need to get each number that are separated by blank …

Member Avatar for Salem
0
114
Member Avatar for prockaz

Program not running I'm not sure of he problem [code]//Employee.h #ifndef CLASS_H #define CLASS_H class Employee { protected : char *firstName; char *lastName; public: Employee (); Employee ( char, char ); //accessors //retrieve const char *setfirstName (char); const char *setlastName (char); //mutators //return const char *getfirstName (char); const char *getlastName …

Member Avatar for thomas_naveen
0
307
Member Avatar for nitinG123

please quick reply! i have a problem that when a record is in the database table then it returns the [B]monthlyBalance[/B] float value otherwise return 0.0 float value. I am using stored proc for this.please help [B]C# Code[/B] [code] conn.Open(); SqlCommand cmd = new SqlCommand("monthlyFees", conn); cmd.CommandType = CommandType.StoredProcedure; //cmd.CommandText …

Member Avatar for kvprajapati
0
160
Member Avatar for EricDLundquist

I would like to retrieve the value of whats stored in a currenlty selected row in my datagrid and store it in a string. 1. Is this possible? 2. If so how might I go about doing it myDataGrid.Rows.Cell[0].etc.etc doesn't seem to work and it is all I could find …

Member Avatar for EricDLundquist
0
202
Member Avatar for photoyid

[CODE]#include<iostream> using namespace std; class point{ private: double x,y; public: double getX(); double getY(); void set(double c, double d); }; class polygon{ private: string color; public: void setc(string color1){ color = color1; } void print(){ cout<<color; } string getColor(){ return color; } }; class triangle: public polygon{ private: point v1,v2,v3; …

Member Avatar for photoyid
0
171
Member Avatar for Robyy14

Hey I am pretty new to c++ and algorithmic , so please try explaining me what to do or give me a code for example don't redirect me to a site that already made a library for this because you only wasted your time telling me that. For example i …

Member Avatar for dusktreader
0
147
Member Avatar for killerdoob

Hey guys im having a little problem with this project im working on basically im making a desktop image uploader for this site [url]http://www.noelshack.com/api.php[/url] i have tried hacking around with some example code but cant get anything working i cant even check if the images are uploaded correctly because when …

Member Avatar for killerdoob
0
248
Member Avatar for jamesbraders

Hi, I am currently writing a program that requires me to take values from a text file and store them in an 2d array, I am quite new to c++ programming so I am not sure how to do it. My text file (posvalues.txt) looks like this: 0 0 0 …

Member Avatar for jonsca
0
268
Member Avatar for jackjones

i am having great difficulty on one of my assignments. AM I NOT ASKING FOR THE CODE, I AM JUST ASKING FOR SOMEONE TO POINT ME IN THE RIGHT DIRECTION SO I CAN DO SOME RESEARCH AND DO IT MYSELF. The specifiaction says " Different locations will be respresented by …

Member Avatar for ddanbe
0
221
Member Avatar for Varun K Sharma

I need to generate nested classes using CodeDom. But I could not find any option to add a class( CodeTypeDeclaration) to another class as member.

Member Avatar for kvprajapati
0
100
Member Avatar for lgonzo

i have following code done, now after i menu item is chosen i want to be redirected to preform the actual conversion, Can some give example of how do that thanks.

Member Avatar for lgonzo
0
2K
Member Avatar for evanguiton

I dont understand what im doing wrong! [CODE]public partial class Delete : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnSubmit_Click(object sender, ImageClickEventArgs e) { SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand comm = new SqlCommand("Delete into [Staff] (Staff_Number, Login_Password, Phone_Num) VALUES (@Staff_Number, @Login_Password, @Phone_Num)", conn); comm.Parameters.Remove("@Staff_Number", …

Member Avatar for jatin24
0
586
Member Avatar for LEEEEE

Hay i'm new here + new to c++ :cheesy: But not new to programming/Scripting (QBasic/VB/VBS/VBA/Batch/HTML) LOL Looks like i like the basic stuph :eek: Anyways i'm learning C++ But a good start would be a Compiler! So where do i get 1? oK thats my question! Thanx

Member Avatar for WaltP
0
214

The End.