8,298 Topics

Member Avatar for
Member Avatar for EastJohn

My array keeps outputting this random character (kind of like a # in a box). Anyways, its just garbage really, but how do i stop it from doing this. If my array was like char title[10] and the user inputted something with only 5 characters, then the remaining characters would …

Member Avatar for restrictment
0
120
Member Avatar for Iam3R

please provide the free pdf link of k & R c prog lang. i spent lot of time in googling but couldnot get it. thanks in adv.

Member Avatar for Tom Gunn
-4
136
Member Avatar for futureaussiecto

Hey guys, im about to write an application which has a visual GUI doing representation of a system (lots of pretty colours and flashing objects etc), which represent what is happening with packets and external devices being inserted into the system. I need to use one of the Win32 APIs, …

0
46
Member Avatar for lukeser

My C# program is able to work with existing MySQL and Access databases. Additionally, it will also create a new Access database if none exists. I am not able to get it to create a new mySQL database though. When the program attempts to run the ExecuteNonQuery command for CREATE …

Member Avatar for lukeser
0
6K
Member Avatar for scarpacci

Hi Gurus, A colleague and I have a process where we want to look at a file we receive from a vendor (XML) and data that is in our db. In order to bypass loading the xml and comparing it once loaded we are loading the db data and xml …

Member Avatar for Geekitygeek
0
137
Member Avatar for benkyma

I've spent a bit of time porting my database connection over to MySQL. It's taken a bit of time, but generally been fairly easy. However, one of my insert queries is currently failing due to an auto increment ID field. I have this insert query: [CODE]INSERT INTO entries(text, name, screen_name, …

Member Avatar for benkyma
0
409
Member Avatar for Dekken

Hi I'm creating a multiple form GUI app using a scene-manager to set the current visible form. There isn't an issue regarding it working, that's fine. What I am noticing is that when each form is set to be active/visible, it takes a few seconds to load each component, and …

Member Avatar for Dekken
0
239
Member Avatar for free_eagle

Dear forum members, Could you please let me know from your experience the best avaibable textbooks to learn C# effectively with examples? I am planning to start to learn C# programming but I have no idea from where to start and which book to read. I have Deitel's books Programming …

Member Avatar for gira
0
342
Member Avatar for simplyscottif

[CODE] #endif class BankAccount { public: double enterAccountData(); double computeInterest(); void displayAccount(); private: int accountNumber; double accountBalance; static const double RATE; } #include "stdafx.h" #include <stdlib.h> #include <conio.h> #include <stdio.h> #include <dos.h> #include <ctype.h> #include<iostream>// holds the cin and cout commands #include<conio.h>// holds the getche() instruction using namespace std; //#include …

Member Avatar for jonsca
0
171
Member Avatar for glennpatton

Hi, I am having problems with a device bulit by a colleague that needs to be working for Tuesday. If you talk to this device in HyperTerminal it errors all the time as it get the data from the UART too quickly it , he has found a thing call …

Member Avatar for glennpatton
0
191
Member Avatar for Afomia

Hello every body Please any one to help me I want to upload and download files from sql database using asp.net with C# i need to do that using grid view or data list. i want to view with grind view to download my uploaded file from sql data to …

Member Avatar for sknake
0
92
Member Avatar for Rishi_Hamza

Hi, I have an assignment to read mails from Outlook and store them in DB in C# plateform. When I read the attachment File and store its contents in BYTE[] when I run the query to store contents in Database it is throwing EXCEPTION [quote]"An object or column name is …

Member Avatar for sknake
0
231
Member Avatar for kochan
Member Avatar for jbennet
0
48
Member Avatar for EastJohn

This is basically my code. It says build succeed, but I get nothing. What am I doing wrong. The user inputs a sentence, for example, Hello. (I've taken out other parts such as return LOWERCASE, return DIGIT, and what would happen in those cases for ease of reading). The program …

Member Avatar for Skeen
0
142
Member Avatar for CSG-SQU

Hello all, i want to creat a list of an object so i used ArrayList in C# after declaring a class book i declare the array list as follwing: [CODE]private ArrayList mobileStore = new ArrayList();[/CODE] then i have an object of class , say Mobile [CODE]Mobile m1;[/CODE] and finally i …

Member Avatar for CSG-SQU
0
108
Member Avatar for shine_jose

Hello, I wish to get the code to pass the log in information (i.e server name,pass word etc) as parameter at the time of calling report Now its asking (user name ,password) before going to the report page each time .please help me.

Member Avatar for Ramesh S
0
466
Member Avatar for mitsuevo

hey, i'm mostly used to coding in Java but recently been having to do some C coding for some uni work and need some help every now and again... and found this forum in a number of google searches, so i bet its good :) so decided to join this …

Member Avatar for peter_budo
0
94
Member Avatar for ab00120

Hi there, I am currently attempting to enhance an old program to use Windows Forms in C++. From what Ive read it would be preferable to use Visual Basic or C#; however in its current state, combined with my lack of experience in C#/VB this would be a real struggle …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for explore

Hi, I'm new to .net. I'm finding difficulty in figuring out how to Import emails from external email servers using C# ... I want to access any external mail server to import email addresses from it ... Kindly Please guide me !!! I will really appreciate your help ... Looking …

Member Avatar for explore
0
170
Member Avatar for dylank

Hi, there are several threads on this issue, but none seem to give me a good answer. My current code is this (This program plots points on a graph) : [CODE] //Put line equasion into arrays. #include <iostream> using namespace std; double getData(int counter, double m, double b) { int …

Member Avatar for invisal
0
1K
Member Avatar for teddyg18

So i am writing a simple prgm in which you enter the values of 2 matrices and multiplies them. [code] #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { int i, j , k , l, m , n , o, p; cout<<"Enter The Rows And Cloumns And Of The …

Member Avatar for asxoliastos
0
126
Member Avatar for ramprakash2489

i am not getting the desired result in link list in C# when i am putting the record bt its nt showing in the records when i view this code so plsss help me to find the desired result [code=csharp]using System; using System.Collections.Generic; using System.Text; namespace Single_Linked_List { class Node …

Member Avatar for sajid syed
0
230
Member Avatar for tayspen

how would i do this i need to do it other wise u have to havesomthing (i forget what is on your comp in order for them to worK)

Member Avatar for DARREN HANSON
0
293
Member Avatar for AnkitKumar

Dear All I am new in ADO.Net and i am using C#. My problem is I want to execute one trigger in my program I am having name of student in my student table now from my C# program I will pass any name which is in table from textbox …

Member Avatar for AnkitKumar
0
4K
Member Avatar for xxunknown321

Write a C++ program that ask the user for the name of a file. The program must have a function that prompt the user to enter a file name and open the file. The program should display the last ten lines of the file on the screen. Each line of …

Member Avatar for xxunknown321
0
187
Member Avatar for mitsuevo

[code] float decimal = 2.345324 float dec_points = decimal%1; [/code] hey guys, I have a small but trivial problem... i have been trying to do the above but i keep getting a error... "error C2296: '%' : illegal, left operand has type 'float'" Anyone got a clue? Thanks guys!

Member Avatar for Dave Sinkula
0
78
Member Avatar for ch.ankit87

HI can anyone help me to write this programe in c Q ; WRITE A PROGRAM TO DETERMINE AND PRINT THE SUM OF THE FOLLOWING HARMONIC SERIES FOR A GIVEN VALUE OF N; 1+1/2+1/3+14+....................1/N THE VALUE SHOULD BE GIVEN INTERACTIVELY THROUGH THE TERMINAL

Member Avatar for nirav99
0
117
Member Avatar for skylancer

Hi, I've code like this [CODE] namespace RestaurantSoftClassLib.Karyawan { public class Karyawan { blablabla } } [/CODE] when I want to use the Karyawan's Class in User's Class [CODE] using RestaurantSoftClassLib.Karyawan; namespace RestaurantSoftClassLib.User { public class User { Karyawan.Karyawan karyawan; blablabla } } [/CODE] why I used to write Karyawan …

Member Avatar for ddanbe
0
133
Member Avatar for gandolf III

Hi, this C program is to remove duplicates. HOwever it doesnt always print out a result and when it does it screws it up sometimes. [CODE]# include <stdio.h> # include "simpio.h" # include "genlib.h" main() { int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,word; word=getchar(); a='a'; b='b'; c='c'; d='d'; e='e'; f='f'; g='g'; h='h'; i='i'; j='j'; k='k'; …

Member Avatar for dkalita
0
112
Member Avatar for LennieKuah

Hi there, Being a newbie to C#Net 2003, I am having problem trying to retrieve data from a specific clicked row on the DataGrid to display the data on the TextBox on the FORM. This is the structure of the DataGird:- Col0 = CustomerId Col1 = First Name Col2 = …

Member Avatar for LennieKuah
0
167
Member Avatar for Soldier1386
Member Avatar for ronson

Ok I'm converting a program from Java to C# and currently stuck on a certain aspect of it. Ok I have; [code=Java]private Graphics g1; private Bitmap picture; picture = new Bitmap(x1, y1); g1 = Graphics.FromImage(picture); pbMand.Image = picture;[/code] pbMand is the name of my picture box, which I will use …

Member Avatar for ronson
0
247
Member Avatar for bk_bhupendra

the design form show following error... pls help... [code] <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden …

Member Avatar for Antenka
0
281
Member Avatar for nccsbim071

Hi I have developed application in .net framework 3.5 WPF. Well, you know WPF also requires .net framwork 3.5 SP1. Now it's works fine on my computer. But i need to ship it the client. What will be the software requirements at the client side to run my application. Is …

Member Avatar for sknake
0
186
Member Avatar for themigrant

Following is the Objective of my program 1.Creating a TCP Server 2.Multiple clients can attach to it 3.Clients send data to the TCP Server and the server in-turn send the same data to all other clients I have the following problem When run on the same machine with 10 to …

Member Avatar for themigrant
0
97
Member Avatar for tkud

Since i am learning c++ myself and only have access to ebooks(no credit card to buy books), i ask a lot of questions so please bear with me. Take a look at the following code:[CODE] //: C04:Cppcheck.cpp // Configures .h & .cpp files to conform to style // standard. Tests …

Member Avatar for tkud
0
130
Member Avatar for tech291083

Hi, I was wondering if it is possible to connect a C++ program to a MySQL database on Linux Fedroa Core 5 os. It would be great if I could create a program in C++ that allows me to create a completely new database in MySQL, edit, modify, delete and …

Member Avatar for mikejonesey
-1
343
Member Avatar for terdie

I think my thread title is a bit incomplete. coz these are my questions.I need answers to these questions for the completion of my thesis. [B]I Know this is sort of a long message but im detailing the situation for better understanding of my questions.[/B] And because these thread is …

Member Avatar for mangesh_dhole12
0
1K
Member Avatar for Maheen Khalid

HEy, I am new to C# and dont know much about it. I am facing a problem while running my code in Visual Studio 2008. The problem is that the screen disappears immediately when the program ends. please help me. Thanks in advance.

Member Avatar for thines01
0
116
Member Avatar for sawiyan

Hay i am new to the developnment currently i am working on datagrid i just want to know how to select a row on a datagrid using check boxes

Member Avatar for babbu
0
107
Member Avatar for wangatang126

i need some help on this. I have the array numbers stored already but the array dosent display on the screen. Why? here is the code [CODE] # include <stdio.h> # include "simpio.h" # include "genlib.h" # include "strlib.h" # include <math.h> # define size 3 main() { int intArray[size][size]; …

Member Avatar for wangatang126
0
91
Member Avatar for wangatang126

Yeah i made a totally new program. However it still doesnt work. The error message says that it is an invaled conversion from int to int*. Here is the code. Please fix it and help repost it. [CODE]# include <stdio.h> # include "simpio.h" # include "genlib.h" # define SIZE 500 …

Member Avatar for wangatang126
0
136
Member Avatar for trahrey

Hi, I have a question on writing a c++ program can anyone give me a hand?

Member Avatar for sneekula
-5
227
Member Avatar for wangatang126

hi im trying to write a C program that produces an array like this 1,2,4,8,16... Basically i produce an array with with the power of 2 starting at 0 and going up to n. Here is my current code: However the array dosent show. What is the problem? # include …

Member Avatar for neithan
0
158
Member Avatar for rutaba

kindly if any one help me to create a calculator which is consaole based yet simple.. Regardz all... Waitin for ur kind help..

Member Avatar for Ramesh S
0
240
Member Avatar for dylank

Hi, I have posted in a previous thread about this problem, but this seems not related enough to post in it. My problem is with this code: [code]//This is VERY simple, will just graph a y=mx+b type formula into 2 arrays. #include <iostream> using namespace std; int main() { //Counters …

Member Avatar for Clinton Portis
0
118
Member Avatar for cloisterham

I am trying to write a little program with a do while loop and if statements. I'm having trouble getting this to work the way I want. When I run the program, it produces two menus after making a selection. I would like it to produce one menu after making …

Member Avatar for Tom Gunn
0
553
Member Avatar for basma.lm

hello everybody, this is my first post in this forum and i hope to find help. i'm beginner in c# and i search for simple tutorials in databases access in c#.

Member Avatar for DdoubleD
0
86
Member Avatar for santhya123

In this task,the csv file has retreived and it viewed by using datagrid. but now how we can take a specified header name from the datatable??

Member Avatar for sknake
0
121
Member Avatar for sivananda2009

The End.