132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr Gates

I'm really scared and etchy about getting VB. NET, as I've just started out in VB 6 and I've gotten pretty used to it. But I wanted to know from experts that used VB 6 before....is it a big change? Will it be hard to get used to after just …

Software Development asp.net vb.net visual-basic
Member Avatar for dmohanty
0
824
Member Avatar for alexmejia92

I need to write a C program `(a) declare two integer variables , and y` `(b) lex x = 6` `(c) find y value use the following algebraic fromula: y=2*x*x*x+5 ` and I only have until these part #include <stdio.h> int main () { int x, y; x = 6; …

Software Development c
Member Avatar for Killer_Typo
0
115
Member Avatar for Sphyenx

on other programming languages, but none on c++, do you know any free ebooks out there on C++?? (no ebooks are not illegal)

Software Development c++
Member Avatar for Asif_NSU
0
177
Member Avatar for server_crash

I have been working on TicTacToe for some time now. I just now got it to work but it's not working properly. When somebody gets three in a row a label is suppose to show that a player has won but it does'nt. So I cant figure out why it's …

Software Development java java-swing
Member Avatar for server_crash
0
127
Member Avatar for TrussworksLeo

Does anyone know how to set the font Italics or bold Properties of the System.Drawing.Font Class? Here is what I have so far and it works fine but I cannot get the Font Bold or Font Italics to work in the GetSetting Sub? Thanks for the Help, TrussworksLeo #Region "Reg …

Software Development vb.net
Member Avatar for dmohanty
0
156
Member Avatar for Paladine

Question (if you are a guru): How do you code a Multiselect Listbox in VB.NET if there is no variant datatype? I know how in VB and VBA... (or at least one way, there may be more) Any suggestions?

Software Development vb.net
Member Avatar for dmohanty
0
254
Member Avatar for dmohanty

can anyone tell me how to save .jpg images in access database????

Software Development vb.net
Member Avatar for dmohanty
0
319
Member Avatar for Brent_Ritterbec

I wrote a program that allows me to send data to a file if I wanted to do that by redirecting the data stream. The only problem is that I can't figure out how to make that work from the DOS prompt. Here is the program: /* echo_eof.c -- repeats …

Software Development c file-stream
Member Avatar for Chainsaw
0
160
Member Avatar for Mahen

Hi everyone, i wanted my program to create another small program, but it stopped at `"\x00"`, why and what can i do. Thnaks #include <stdio.h> int main() { FILE *out; out = fopen("c:\\cpy.exe", "wb"); fprintf(out, "\xCD\x21\x00\xCD\x21"); fclose(out); return 0; }

Software Development c
Member Avatar for Chainsaw
0
175
Member Avatar for Rashid Riaz

Hello, I am new member here I need help with my program. I am trying to calculate interst for a loan I am not able to calculate last payment for loan like if loan amount is 1000 and interst rate is 18% which come up 1.5% for every month and …

Software Development java java-swing
Member Avatar for nanosani
0
124
Member Avatar for Sukhbir

consider the statement ++*p++ if it is valid then evaluate it.

Software Development c
Member Avatar for XianBin
0
139
Member Avatar for Mahen

hi everyone, hope u r all feeling fine :mrgreen: this is my program: #include <stdio.h> int main() { char pass[12]; printf("Enter Password: "); gets(pass); if (pass == "neo") { printf ("ini"); } else printf("Wrong"); return 0 ; } when i enter "neo" as password, it does the "wrong" thing :( …

Software Development c
Member Avatar for Dave Sinkula
0
177
Member Avatar for Sphyenx

im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers

Software Development c++
Member Avatar for XianBin
0
110
Member Avatar for Asif_NSU

In my program i will be taking two inputs, lets say two integers. If the number of input is more than two the program will exit. If it is two then the loop will be executed and after that it will again ask for two new inputs-- and will continue …

Software Development c++
Member Avatar for Dave Sinkula
0
95
Member Avatar for shouvik

I need to submit 23 programmes in C++ in school by Monday. plz somebody provide me with only 3 programmes one on Inheritance, one on structures and one on classes... Very urgent plz. Plz post a programme that is probably of 12 to 13 lines or more... It would be …

Software Development c++ first-post
Member Avatar for shouvik
0
128
Member Avatar for copycat

Can someone help mi I need to do a word count i enter a word e.g. superboymother it will search for the char a,e,i,o,u and return mi the result is: a=0 e=2 i=o o=2 u=o

Software Development java
Member Avatar for copycat
0
95
Member Avatar for Newbee

Hi, I am a novice in programming and need help in my mortgage calculation program. I have the GUI set up all functioning good the only problem I have is the calculation portion that is not doing its job. Can anyone please guide me how to correct my problem? import …

Software Development display gui java java-swing
Member Avatar for nanosani
0
121
Member Avatar for gkakkireni

Hi to all i have requirment like this the field length is 15 digits but am getting input only 6 digits..means i have to put spaces after the 6 digits position menas spaces after the value.how to do it in java,could u send the sample programe . thanks in advance …

Software Development java
Member Avatar for Banderson
0
110
Member Avatar for modumass

hi all. i need to write an application class with a main method and a second method called tempCalc, and then in the second method put the code from a previouse temperature calculation experiment. but i have no idea how to do this. i read the part in "Sams Teach …

Software Development java java-swing
Member Avatar for Banderson
0
166
Member Avatar for shouvik

Help required in files. SOME example to explain it please...........?????????????

Software Development c++ file-system
Member Avatar for Stack Overflow
0
128
Member Avatar for tablet

i have started to create a simple java game and at the moment i have done as much as i can possible at the moment the game builds with no errors. but it does nothing. what i want it to do is that the player enters a bid and if …

Software Development display java java-swing
Member Avatar for nanosani
0
270
Member Avatar for Dick

I've scanned a lot of C++ sites but have not found an answer yet. In several pre written programs, I've noticed that a single brace "{" is used without being closed later in the program. It appears like it is used to go outside the program to get info. like …

Software Development c++
Member Avatar for Dick
0
107
Member Avatar for big_k105

Ok my problem is i have a struct and im tring to ready a line into the array of structs using fstream. here is the code i have its just a basic layout of what will come later on. but here it is :) [code]// file: main.cpp // author: Kyle …

Software Development c++ file-system
Member Avatar for big_k105
0
153
Member Avatar for Sukhbir

Consider the following programme void main() { char str[]="\12345s\n"; printf("%d",sizeof(str)); } Output is :6 can someone explain me why.And is sizeof contain null value while gigving the size of any string.

Software Development c
Member Avatar for Dave Sinkula
0
136
Member Avatar for mpkhadloya

hi, How socket programming is done in c++ for window? how to use port in c++?

Software Development c++ socket-programming
Member Avatar for nallahp
0
155
Member Avatar for shabna

sir,please correct the errors in this program and also write the algorithm in this program and give me an introduction to this program.Pls send the error free program,algorithm & introduction before 03/09/2004.thank you #include<iostream> #include<iomanip> #include<stdio> #include<cstdlib> #include<cctype> #include<fstream> using namespace std; const int maxchrs=50; const int items=3; const short …

Software Development algorithm c ios video
Member Avatar for Dani
0
133
Member Avatar for C#_Virgin

Hi, I'm new to this site so quite unfamiliar with how things work.... I have recently begun learning about C# and the .Net framework. As a java programmer, I found C# a good basis to start on. I wanted to change a lot of my existing code from Java to …

Software Development assembly c# java
Member Avatar for Decency
0
168
Member Avatar for tccummings

When my CGI script is given input from my web page I get this error: Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: projest.cgi Does anyone have a clue as to what I'm missing here? I …

Software Development perl web-server
Member Avatar for tccummings
0
117
Member Avatar for freesoft_2000

Hi everyone, I want to know how to print the contents of the text area including all its fonts to the printer. I have no idea how to implement this in awt. Could someone show me or e-mail me any sample codings on how the print functionality can be implemented …

Software Development api email java printer
Member Avatar for hivework
0
135
Member Avatar for teritori

hi there guys.Can anione please show me how to create a always on top frame.(no native methods)

Software Development java
Member Avatar for DeepZ
0
284
Member Avatar for Brent_Ritterbec

Hello, I started learning C about 2 days ago, and now I have come to a problem that I can't figure out why I am getting the result I am getting. I bought a book, and I have proceeded quickly through it until now. The problem I was given was …

Software Development c c# c++
Member Avatar for Brent_Ritterbec
0
328
Member Avatar for nanosani

What is a Glass Pane ? and how should I use it ... please give an example. Thanks.

Software Development java
Member Avatar for nanosani
0
220
Member Avatar for RITZY_G

just need a little help wit comparing two int arrays and return the value as bool. help: #include<iostream> #include<iomanip> using namespace std; using std::setw; bool compare(int[], int[]); int main(){ const int correctarraysize=5; const int pupilarraysize=5; int resultarraysize=5; int pupilarray[pupilarraysize ]; int correctarray[correctarraysize]={1,2,3,4,1}; bool resultarray=0; cout<<"\n\nEnter pupil's results:"<<endl; for(int k=0;k<pupilarraysize;k++) cin>>pupilarray[k]; …

Software Development c++
Member Avatar for RITZY_G
0
214
Member Avatar for kohkohkoh

after words are been entered by the user, it saved in the file.txt as address something like 0047D123. what should i do if i want it to be appeared as in full character?? thank you! #include <iostream> #include <fstream> using namespace std; int main() { char words[50]; char *p = …

Software Development c++
Member Avatar for kohkohkoh
0
79
Member Avatar for iamboredguy

I'm trying to use sequential binary file editing in C++. I use a temporary file. I have to make the changes in the file by storing the modified data in the temp file. Then I delete the original file and rename the temp as the original. The problem is the …

Software Development c++
Member Avatar for iamboredguy
0
109
Member Avatar for freesoft_2000

Hi everyone, I am trying to load images in the canvas but it seems nothing gets loaded at all but the program compiles without any errors. It is actually a simple image viewer and have tried almost everything. Anyway here is my program and i hope someone can help me …

Software Development image java
Member Avatar for hivework
0
868
Member Avatar for Sukhbir

Consider The Following Statements *p++=*(p++) These Two Are Equals.can Someone Explain Me How. Is Parentehsis Not Alter The Behaviour? :?:

Software Development c++
Member Avatar for Chainsaw
0
142
Member Avatar for Ghost

What's the coolest program you've ever written in regular C++, not Visual C++?

Software Development c++
Member Avatar for shouvik
0
416
Member Avatar for wild_potatos

Hi guys / girls i am new in this forum and i hope you could help me in this problem. i programmed a link list which stores some information one of them is strings and i entered them using the function gets(); instead of scanf(); to enable the program to …

Software Development c linked-list
Member Avatar for Dave Sinkula
0
229
Member Avatar for Kyman2008

I recently bought the "Teach Yourself Game Programming In 24 Hours" and it doesn't seem to be helping me much. The book gives you code for a game but really doesn't explain it or tell you how to use it in your own game. I am attempting to make a …

Software Development c++
Member Avatar for FireNet
0
120
Member Avatar for axiss

Well basically for the assignment I have to write a project that reads data from a .mdb database file and stores this data into a 2D array, then lets the user manipulate the data in the array (stuff like adding, editing, sorting, deleting and searching data) by using GUI and …

Software Development display gui java java-swing sql
Member Avatar for axiss
0
269
Member Avatar for vn5ae

im currently in the middle of tryin to complete my dissertation for my masters in software engineering, and i need java code to analyse, i need to measure the complexity and the number of faults each class has. so i was woundering if any one can help me out by …

Software Development engineering java
Member Avatar for mikeandike22
0
160
Member Avatar for sonix

anyone remembers the syntax of reading a file into C and subsequently printing it out? for eg. i have the file 'matrix.txt' the contents inside the file is as follows: <matrix> rows = 2; cols = 2; 1 2 2 4 </matrix> how do i read it into my C …

Software Development c file-system
Member Avatar for Dave Sinkula
0
463
Member Avatar for RobinA

Hi im programming a program thats going to count how how many doussins,grosses and pieces. there are if you enter a number. (just so u know ive started programming 1 week ago and havent programed alot cause school started) ok heres my problem: when i enter 502 pieces it says …

Software Development c c# c++
Member Avatar for RobinA
0
97
Member Avatar for Asif_NSU

Sorry Inscissor, I couldnt approve the reason why you closed that thread. I think learning about viruses can be quite educational. If no one studied about viruses it would not have been possible to make anti-viruses. Learning to know how to create viruses or atleast discussing about viruses is no …

Software Development c++
Member Avatar for FireNet
0
132
Member Avatar for Lothia

I am using Microsoft Visual C++, and when i try and compile something i either can't or i get " Cannot compile the file in 'C\Program Files\Microsoft Visual Studio\Common\tools\H1.h'; no compile tool is associated with the file extension" I have placed it in so many different places and each time …

Software Development c++ microsoft visual-basic visual-studio
Member Avatar for Lothia
0
325
Member Avatar for ArmedCoder

Hi, im just learning about multithreading for a program i am writing that ne eds to read from multiple camreas attached to the computer at the same time. I know how to create threads and pass around info, and i know a bit about mu texes but this is not …

Software Development c display image multithreading video
Member Avatar for ArmedCoder
0
199
Member Avatar for RITZY_G

can u please xplain' wat this error means: [COLOR=Sienna][FONT=Comic Sans MS][U][I][B][SIZE=2]Linking... file_name.obj : error LNK2001: unresolved external symbol "int * resultarray" (?resultarray@@3PAHA) Debug/file_name.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.[/SIZE][/B][/I][/U][/FONT][/COLOR]

Software Development c
Member Avatar for Dave Sinkula
0
148
Member Avatar for let us c

hi i want to get following output. 1 2 2 2 3 3 3 3 3 4 4 4 4 4 4 4 and so on in 1st row one 1 in 2nd three 2 in 3rd five 3 in 4rt seven 4 in 5th nine 5 (all odd outputs)

Software Development c
Member Avatar for let us c
0
96
Member Avatar for hfick

I am stuck on this problem..you are supposed to locate the error in the segment of code: char var1, ptr1; var1='X'; ptr1=&var1; Can someone please help me figure this out. It is much appreciated.

Software Development c++
Member Avatar for FireNet
0
337

The End.