132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sukhbir

LOOK THE FOLLOWING STATEMENT int *p[](); PLS TELL ME THE MEANING OF THIS STATEMENT.& WHERE WE USE THIS STATEMENT.

Software Development c++
Member Avatar for FireNet
0
83
Member Avatar for Mahen

Hi everyone, i have just startted programming with C and i have got 3 Questions: 1. How to calculate with decimal numbers in C. 2. How to convert strings into numbers and perform calculations on it. 3. Where to find a book that explains all the header files. Tahank you …

Software Development c perl
Member Avatar for Mahen
0
130
Member Avatar for matt768

I have to create a program in c using this formula, y=ax(cubed)+bx(squared)+cx+d, I have to ask the user to read in the four coefficients of the cubic, Ask the user for start and finish values for x, ask the user to view the graph and Plot a graph using grx20 …

Software Development c
Member Avatar for Chainsaw
0
79
Member Avatar for icono

I am novice, and I am working now in a proyect with the vga colour palette, over DOS with borland c 3.1. The project include cpp.h and asm files. Sintactically I checked that is ok, BUT when I do the link tell me DECLARATION SYNTAX ERROR , in the first …

Software Development c++
Member Avatar for icono
0
255
Member Avatar for rishiraj_bayerd

Hi meabed & Naveen, thanks lot for your help. As per your advice i get lot of things.It is out of my expectation.I hope that in future you again help me. Thanking you...... Rishi

Software Development c
Member Avatar for meabed
0
172
Member Avatar for Tex_Tootell

Hi can I delete a ".cpp" file and start the project again ? and how do I do it? I am using Microsoft visual C++ .NET Thanks Tex..

Software Development c++ microsoft
Member Avatar for Tex_Tootell
0
95
Member Avatar for Vcrossley

Can someone help me to get this code to run. What am I missing. Any help is greatly appreciated. import java.io.*; public class Quiz { public static void main(String args[]) { int correctCounter; InputStreamReader reader; BufferedReader buffer; keyboard = new BufferedReader (new InputStreamReader (System.in)); } String seekResponse; System.out.println("Welcome to Hoffman …

Software Development java
Member Avatar for Vcrossley
0
138
Member Avatar for Tex_Tootell

I am new to programming and would like some help getting up and running. I am using the Microsoft Visual C++.NET 2003, Iam up to Object-Oriented Programming [Animals], and I have 4 errors I can't fathom out..... #1 C2143:syntax error? #2 C2501:'_cg' missing storage class? #3 C3265: cannot declare a …

Software Development c++ microsoft storage
Member Avatar for Tex_Tootell
0
170
Member Avatar for aperez

used following in MS-DOSS command window public class Welcome1 { /*method*/ public static void main( String args []) { System.out.println( "Welcome to Java Programming!" ); }/*end main*/ }/*end class Welcome1*/ It was taken as an elementry example of a Jova pgm. I saved it as Welcome1.java and used the MS-DOS …

Software Development java
Member Avatar for Iron_Cross
0
125
Member Avatar for Hjays

write and test a class that can be used to create and object whose instance string variable can be initialised to a string constant such as: "I fined that the harder I work the more luck I seem to have" the class need to provide the following methods A method …

Software Development java
Member Avatar for Iron_Cross
0
177
Member Avatar for Dani

[b]O[/b][b]rganize Your Data[/b] Arrays allow programmers to store a series of data of the same type. For example, suppose a program is to keep track of twenty numbers. Such a set of numbers would be stored in an array of integers (whole numbers) or doubles or floats (decimals). Arrays work …

Software Development c++ oop
Member Avatar for paawam
0
568
Member Avatar for macca1979

Hey there, First off I'm really new to Java so please bear with me. I need to translate a line of text from one form to another. An example line segment has the following format: " step(sent(1,A,B,vars(Na,Rv,ped(pk(B),cat(N a,A)))))" This means that at step 1, A sends to B that which …

Software Development encryption java
Member Avatar for Iron_Cross
0
197
Member Avatar for Sukhbir

LOOK THE FOLLOWING CODE: void main() { char a[]={'a','b','c',d'}; int b[]={1,2,3,4,5}; printf("%d %d",&a[3]-a,&b[3]-b}; } OUTPUT: 3 3 CAN SOMEBODY EXPLAIN ME WHY THE OUTPUT IS SAME. ACCORDING TO ME OUTPUT IS (3 6).

Software Development c
Member Avatar for Naveen
0
166
Member Avatar for recinto

Hope someone can help with this.... I recently incorporated these two classes into my code which dynamically adds a checkbox column to my datagrid. public class CheckBoxItem: ITemplate { /// <summary> /// The CheckBoxItem constructor /// </summary> /// <param name="editable">true if the item is to be in its editable state, …

Member Avatar for Iron_Cross
0
454
Member Avatar for vivekgalatage

Hello Everyone can anyone please explain me about the concept of namespaces? Regards

Software Development c++
Member Avatar for TITAN
0
200
Member Avatar for tahataha

that s what i learned since i saw in many examles programmers using a function main whithout any class asking for any explication please :confused:

Software Development c++
Member Avatar for Chainsaw
0
176
Member Avatar for Kalitko

Can sombody advise me or show me a semple code how I can obtain 10 bit data information from device connected to my com1 port? Thank you very much in advance.

Software Development c++
Member Avatar for Kalitko
0
168
Member Avatar for Trevor@Taran

I am trying to get the Microsoft Mappoint OCX working in C++ Builder 6.0 Pro. So far I can place pushpins and delete them but I cannot attach a name or note. When the compiler is in Debug mode the code will compile without any error but crashes when running …

Software Development c c# c++ microsoft microsoft-access
Member Avatar for Trevor@Taran
0
119
Member Avatar for a_68000

I need to finish my assignment but i seem to have several problem and i stuck. Below is the assignment question and also the source code that i wrote Question Write an interactive C++ program that will encode or decode a line of text. To encode a line of text, …

Software Development c++ display
Member Avatar for Chainsaw
0
152
Member Avatar for Naveen

i have created 3 matrices: 1) Connection Mtrx 2) Metric Mtrx 3) Ans Mtrx. here from connection mtrx, seeing starting node,i update the ans mtrx which will hold the sequence of node traversal. how do i code to achieve this? the code problem is coming in function bf(). #include<iostream.h> #include<conio.h> …

Software Development c++ oracle
Member Avatar for freesoft_2000
0
155
Member Avatar for blessedrose82

i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice …

Software Development algorithm c display operating-system queue
Member Avatar for meabed
0
652
Member Avatar for shantuli

hello everyone, can anyone please help me to solv the following problem. Write a menu-based program with the following opetions : 1 Addition 2 Subtraction 3 Multiplication 4 Division 5 Exit take two numbers from the user and run the chosen operations on them. thank you, regards, shantuli

Software Development java
Member Avatar for shantuli
0
136
Member Avatar for andremc

i'm trying to create a chained hash table using a linked list header file, but there's a problem with my insert function. here's the relevant portion. the error comes in the part that is in red. compiler says "parse error before '.' " i've used the linked list header before, …

Software Development c++ linked-list
Member Avatar for Chainsaw
0
157
Member Avatar for Raghunath

Dear Friends, Here I have tried to connect to Sybase Adaptive Server Anywhere 7.0 with the following code in C# as console application, I am getting the ERROR: System.NullReference Exception occured in system.data.dll , this code executed after running the asademo. Can you help me out where exactly I am …

Software Development display sql vb.net
Member Avatar for Tekmaven
0
215
Member Avatar for nanosani

If I retrieve memory from freeMemory() method .... which memory is returned ... the free ram or the memory available to jvm. same is the question for totalMemory(). Thanks.

Software Development java
Member Avatar for rickste_r
0
133
Member Avatar for biel_andrada

Hi! I need help with the find function! I do not know how to use it in finding numbers. For instance: 1 1 1 1 2 3 4 4 5 5 6 6 6 7 7 7 7 Using the find function, it will count the number of times a …

Software Development c++
Member Avatar for meabed
0
140
Member Avatar for red_evolve

Greetings. I have a form loaded and in this form, I have a listbox plus a button. When the button is clicked, a dialog box will appear alongside with the form. In the dialog box, there is a combo box, in which the user must select something from. Once the …

Software Development visual-basic
Member Avatar for mnemtsas
0
239
Member Avatar for Taina Masilaca

Hi!!! I would like to know the meaning or purpose of these case '\t' and case '\n'? Thank you.

Software Development
Member Avatar for basementcoder
0
130
Member Avatar for seankleyn

Hi. Im having difficulty finding work in south africa in the IT field so I was hoping their was maybe another way to start making money from doing freelance coding and projects in both Visual Basic and C/C++. Can anyone tell me where there are such places or opportunities where …

Software Development visual-basic
Member Avatar for basementcoder
0
244
Member Avatar for Bill T

Can anyone help im trying to write a program that you can pick a number between 1-100 and another line which you can pick numbers from 2-100 then mutiply the end numbers you pick and get a answer... I dont have much to go on. I really need help... more …

Software Development java
Member Avatar for rickste_r
0
137
Member Avatar for Maineboy

I am new to coding and I am trying to display a league table of football teams in a memo box using C++Builder. The code below prints a list of the team names from an array of 12 teams, but I cannot get the rest of the details i.e. games …

Software Development c++ display
Member Avatar for Maineboy
0
203
Member Avatar for Msh84281

// This program will write the name, address, telephone number // and college major of the programmer. // Michael Hawkinberry #include <iostream> using namespace std; int main() { cout << " Michael Hawkinberry\n6393 Harlem-Grovetown Road, Harlem, Georgia, 30814\n(706) 556-3731\nComputer Science " << endl; return 0; } Is this program error …

Software Development c c# c++
Member Avatar for Dave Sinkula
0
275
Member Avatar for ellisrn

Hi, I'm trying to run this short code and when it prints out i get about 20 of these "pow: DOMAIN error" messages, and then my results. Can anyone shed any light on this. I'm not acutally a programer, but got thrust into this in a project for another class, …

Software Development c++ ios
Member Avatar for Dave Sinkula
0
2K
Member Avatar for shantuli

hello everyone, i am very new in java.this is why i need some help from you.i hope you will help me by solving the following problem: write a program that simulates rooling a pair of dice. you can simulate rooling one die by choosing one of the integers 1, 2, …

Software Development java
Member Avatar for rickste_r
0
848
Member Avatar for red_evolve

Greetings. I'm sort of on the en-route to project completion except for some small problems here and there. One more major step is report generation. I'm totally new in this area. Nothing in the old threads are related except for one: [url=http://www.daniweb.com/techtalkforums/thread410.html]Vb report generation[/url] but this thread is still left …

Software Development visual-basic
Member Avatar for mnemtsas
0
180
Member Avatar for jamal2004
Member Avatar for crazybitez
0
108
Member Avatar for shantuli

hi everyone, i am very new in java.can anyone help me to do the following problem: Write a program to do the following using in-built methods in the string class of java. 1) Find the 5th caracter in the string " RUSTIN BOND" 2) Find the index of character "K" …

Software Development java
Member Avatar for rickste_r
0
121
Member Avatar for crazybitez

Hi, I want to implement as search program which will be able to search through a given set of documents for a given string...I've heard that indexed searches are the best bet in these cases...(if anyone knows of something better i would appreciate it..)..now if i have a set of …

Software Development c++
Member Avatar for meabed
0
167
Member Avatar for KSGuan

Greeting to all, I have been trying to apply "fprintf()","fopen()" and "fclose()" into the following source code but still fail to get the right way. As I do not have any C program book to refer to, I really appreciate it if someone could show me how should I go …

Software Development c
Member Avatar for Dave Sinkula
0
200
Member Avatar for lordofthisworld

i'm new to programming in c++ and have been confuzzled by this for two days: the following code was meant to create a new class ("character") and enter into it information entered by the user such as name etc. the problem is that whenever i enter something (at one of …

Software Development c++
Member Avatar for diablo
0
154
Member Avatar for .·)Tusky(·.

I'm using the Window Console to create a excerice out of a book for beginers. First it's coded to ask for a number, then after you press the enter key it tells you the results, in about 2 seconds it just closes the Window Console. How can I prevent the …

Software Development c++
Member Avatar for diablo
0
170
Member Avatar for PViper

Hi, I'm trying to write a program(beginner level) to read a text file line by line and compare each character with one in my code. So far I have read the lines from the file: #include <string> #include <iostream> #include <fstream> #include <vector> using namespace std; int main() { vector<string> …

Software Development c++
Member Avatar for PViper
0
160
Member Avatar for fishcakes28

Hi, I created a couple VERY small programs in VB. When I have built the program to become an executible, it works on my original computer, however when I try and use it on my office computer (without VB), it comes up with an error "The application failed to initiate …

Software Development visual-basic
Member Avatar for lkexpert
0
138
Member Avatar for .·)Tusky(·.

I'm new to C++ and I'm studying out of a book (Game Programming - All In One, 2002) From what I've seen from other programs it's sort of out of date. Can someone tel me what's wrong with this? -Error C2734: 'Value' : const object must be initialized if not …

Software Development c++
Member Avatar for FireNet
0
495
Member Avatar for Chris Wong

Hi guys, I'm new in programming and I just started to learn C language. I got this assignment question that requires me to use random number generation. I know how to create a simple random number generation using seed. But this question is giving me a headache. Please spare me …

Software Development c
Member Avatar for FireNet
0
170
Member Avatar for Marilyn_Manson

Can someone explane to me how prefixs and postfixs are used and how they work. :o

Software Development c++
Member Avatar for Dani
0
172
Member Avatar for .·)Tusky(·.

Hello Random People, I'm new to C++, and I have some questions for all you'all. The first subject I'd like to talk about is Unary Operators. They give me a sample problem in the book. (The book is was published about 2 years ago) Sample Problem: int Result, A, B; …

Software Development c++
Member Avatar for .·)Tusky(·.
0
156
Member Avatar for coolice

Hi ! I would like to ask your help. Since days, I am reading fstream tutorial in tutorials section as I am trying to put together 3routines: 1., Can write a structure to a file. (ButtonClick1) 2., Can tell how many records in the file (ButtonClick2) 3, Can read back …

Software Development c++ data-structure ios
Member Avatar for Dave Sinkula
0
608
Member Avatar for Blizt3r

[FONT=Comic Sans MS][COLOR=Red][COLOR=Red]hey dude, I need help regarding my project. Its about creating a program of a vending machine. It said i must include these in the vending machine system menu a) Replenish the system b) Buy Drinks c) Transaction Report d) Quit >> Enter Choice : X I wish …

Software Development c
Member Avatar for Blizt3r
0
141
Member Avatar for freesoft_2000

hi everyone, Can anyone recommend me a good free java 2 ebook for download on the net or even a good free java 2 tutorial download. Someone please let me know about this or even put a link on your reply Thank You Yours Sincerely Richard West

Software Development java
Member Avatar for nanosani
0
95

The End.