199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LieAfterLie

Hi, i'm new to C++ (well actually i just haven't looked at it in awhile) and I've been trying to figure out how to make my array's content depend on a condition. It's not extremely important, but I think there's got to be an easier way than what I'm using. …

Member Avatar for WolfPack
1
910
Member Avatar for akadri

Can anyone suggest me a nice and easy to use C/C++ compiler under Windows.. Give the URL from which I can download. Thanks in anticipation...

Member Avatar for WaltP
1
261
Member Avatar for arjunsasidharan

im jus into basic.. i need to create a login form containing the fields Username, UserID and Password. It has to be connected to the MS Access Database and when the login button event is clicked i want it to check t database whether the details are all correct n …

Member Avatar for Tanvir
1
108
Member Avatar for Miles Archer

I have never compiled before, and I will leave it to you gurus. But I want to drive this (single) program around the block, so any assistance would be appreciated. I have: WindowsXP Pro Borland Compiler 5.5 (free version) MS Visual C++ 2005 Express and the Platform SDK I am …

Member Avatar for Salem
1
344
Member Avatar for Vickyy

Good Day one and all, I am final year MCA student. I want to do one mini project in this semester. I know VB, VB.NET. I already done a student management system for a school. Now i need a good project title to do in this semester. can anyone give …

Member Avatar for Bharati Krishna
1
480
Member Avatar for Killer_Typo

got to thinking that i couldnt find a way to find the intersect of a string and array nor could i find a quick way to do an array / array. i searched a bit on google and didnt really find anything that showed me something like Array.Intersect(array a, array …

Member Avatar for alc6379
1
355
Member Avatar for rdubey_jsr

I am reading a CSV file and parsing its content into tokens. Now i want to know how to check for End of File. I am giving my code to be more clear. [CODE][COLOR=#0000ff]ifstream file(filename); if (file) { char ch ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; …

Member Avatar for WolfPack
1
290
Member Avatar for tllcll

Hi, Is there anyone who know of any website that offer free interactive learning of java? TQ

Member Avatar for tllcll
1
87
Member Avatar for paramveer

Hello group, Could anyone of you tell me how to convert string to const char* in C ....function c_str() is not working ...i dont know why............ Thanks...

Member Avatar for Narue
1
112
Member Avatar for winbatch

So here's what I'm trying to do. Basically, I have a huge text file of strings which are delimited by a delimiter. I would like to read each string separately based on the delimiter. Note that each chunk can span several lines, so I don't want to read it line …

Member Avatar for Ancient Dragon
1
221
Member Avatar for Fasola

What's the difference between Static and Dynamic Memory Allocation and what are the advantages and disadvantages of them both?

Member Avatar for samaresh
1
567
Member Avatar for binod

Can any one help me out... How can i read website uploaded xml file e.g [URL="http://www.abc.com/book.xml"]www.abc.com/book.xml[/URL] reading xml file is not a problem if it reside on my PC. but i need to read and save book.xml (as shown in the above example) Please let me know the code if …

Member Avatar for alc6379
1
152
Member Avatar for jchaike

[FONT=Comic Sans MS] :?: Ok, I am a pretty good with visual basic, i have almost mastered the basics and thoght it would be cool to make my own personal os, the way i want it, updating it whenever i feel, i am not sure if it is possible, but …

Member Avatar for Comatose
1
2K
Member Avatar for valiant_aleksei

Hello people! i reallay dont have a clue how to connect my newly made database to my c# please help.

Member Avatar for alc6379
1
756
Member Avatar for geez85

Hey, i just got alil problem. Im trying to create a 2d array with a size of [1000][1000]... [code] double variable[1000][1000] = { 0 }; [/code] its compiles fine but when i run the program, it just crashes...is the array too big?? the maximum i can get is [300][300]...any ideas??

Member Avatar for dubeyprateek
1
4K
Member Avatar for matika

hiii all do any1 knows how to read the header of a file to know its format as example if i've a mp3 file but it's name do not include .mp3 i wanna make a program that read the header of the file and detect it's format but i dont …

Member Avatar for tayspen
1
274
Member Avatar for Smooth_411_2000

I need to know who to call up other forms from one form or another and also see and unistall programs from a computer using vb programing

Member Avatar for Comatose
1
103
Member Avatar for Asif_NSU

The following code finds the square root of a number, it runs fine unless you compile with MinGW gcc: [code] #include<stdio.h> #include<stdlib.h> int main(void) { double x0,x1,a; int i; x1 = 1; x0 = 0; printf("\nFind square root of: "); scanf("%lf",&a); for(i = 0; x0 != x1; ++i) { x0 …

Member Avatar for Asif_NSU
1
1K
Member Avatar for pnjeim

Hey there, I have a large program in Matlab that I have to translate into C. Is there any function or program that can do that automatically? Thanks, Patrick

Member Avatar for Dave Sinkula
1
758
Member Avatar for ghadahelal

i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++

Member Avatar for Bench
1
254
Member Avatar for behrk2

Hey guys- I have to write a program in C, a pretty printer, that will be used in formatting assembly language code. To run the input, a source file must be provided as input for the 1st argument. A 2nd runtime argument is optional and, if present, it must be …

Member Avatar for Narue
1
243
Member Avatar for Asif_NSU

I am kind of confused about how DestroyWindow() works. According to the help files this function sends a WM_DESTROY message to the window it has just removed from the screen. In my [inlinecode]WindowProc[/inlinecode] I have something like the following: [CODE] case WM_CLOSE: { DestroyWindow(hwnd); return 0; } case WM_DESTROY: { …

Member Avatar for WolfPack
1
743
Member Avatar for winbatch

So I'm trying to learn how to use function pointers (ie to pass the address of a function to another function to execute it - like a call back). I have it working when I use it as follows: Classes.h: [code] #include <iostream> using namespace std; class Class1 { public: …

Member Avatar for dubeyprateek
1
736
Member Avatar for Asif_NSU

I am trying to access files in a folder. The folder name and location will be given - the program will search inside the files in that folder for a specific pattern(yup like grep). However, I am not sure how to actually let my program know what are the files …

Member Avatar for Ancient Dragon
1
263
Member Avatar for Podge

Hi, I am looking to hire someone to spend some evenings or days helping me understand Visual C++ 2005 better. I am a Structural Steel Detailer by trade but have developed some application related to my field. I have written some in C and C++ but I would like to …

Member Avatar for Podge
1
202
Member Avatar for Lippy

I am learning C++ using Stephen Pratas "C++ Primer Plus" (excellent book btw). However i am stuck on exercise 6 chapter 4, where in essence i just have to use new to allocate the array of structures dynamically. I can allocate a single structure dynamically, however i still do not …

Member Avatar for Narue
1
207
Member Avatar for TheUglyKing

[COLOR=DeepSkyBlue][COLOR=Cyan]how do i change/get my port number because i have my ip address and all that i just need to find my port number. if you know it please tell me how to change or get one for free since i need it for my site if your interested in …

Member Avatar for paradox814
1
105
Member Avatar for avik1612

I wanted a pragram in C showing the working of various CPU scheduling algorithms like SJF, Round robin.priority etc.

Member Avatar for Salem
1
167
Member Avatar for nisaa15

Just wondering if there can be a raw ASCII input where the same token (e.g 257 = at) appears numerous times (say 100) in the compressed output? what ever the solution is whats the reasoning behind it? Cheers

1
106
Member Avatar for martinkorner

How do I make a button that will bring up the download box for something on my website, without the user having to right-click and select "Save Target as..." :?: Thanks :lol: Martin :lol:

Member Avatar for tgreer
1
1K
Member Avatar for Melissa111

Hello guys :) I have a prog. assignment due on Sunday! I need help to get me started. The task is implement a program for any hamming codes not just (7,4). The user input the following: 1. Desired hamming code (n,k) 2. Choose to encode or decode. So, I am …

Member Avatar for DMR
1
3K
Member Avatar for nazgand

[SIZE=3][FONT=Comic Sans MS][B][COLOR=Magenta]im new :o to vb though ive done some qb before could anyone post games to make a collection so i could learn[/COLOR][/B][/FONT][/SIZE]

Member Avatar for smacksnox
1
101
Member Avatar for Virii

Is the book "Wiley's Teach yourself C++" a useful book or is it one of the sub-par books? Also, for a beginner is the book Object-Oriented Programming In C++ by Robert LaFore a good book to get and read?

Member Avatar for Rashakil Fol
1
201
Member Avatar for George2

Hello everyone, I am wondering how to transpose a matrix (m * n) with only constant space complexity O (1). (The transpose algorithm should execute/operate on the original matrix.) thanks in advance, George

Member Avatar for jwenting
1
162
Member Avatar for infested13

im new with Swing..im having problem on gridbag layout(my classwork)... im trying to stick a header(label) and a scrollpane(with a JList attach to scrollpane) to a tabbedpane which the outcome may look like [URL=http://www.geocities.com/dogkickass/1.jpg]this[/URL] but for some reason..my scrollpane doesnt want to show up... i need some help and tips …

Member Avatar for server_crash
1
120
Member Avatar for nabil1983

This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying:: size of cdRecords is not known and need explicit cast to convert I cant work out what the problem is because another program …

Member Avatar for nabil1983
1
216
Member Avatar for biglou_85

I have a working model of Visual Basic 6.0 that came with my textbook that I have from ITT Tech. Im trying to install it but i keep getting a window that reads: 16 bit Windows Subsystem C:\WINDOWS\SYSTEM32\AUTOEXEC.NT The system file is not suitable for running MS-DOS and Microsoft Windows …

Member Avatar for mrmike
1
217
Member Avatar for bumsfeld

I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file?

Member Avatar for vegaseat
1
244
Member Avatar for barry t

My app has four group boxes with four text boxes and one button in each group box what i would like to do is use the keyboard enter button to tab instead of the tab button and when it gets to my control button instead of left clicking the mouse …

Member Avatar for r0ckbaer
1
110
Member Avatar for Xtothel

hi, i want to give a value to a variable when the surfer clicks on a link, i am not sure how to do that in php, also, i would like to pass on the value of that variable to a different page. can someone help me with the coding? …

Member Avatar for Xtothel
1
166
Member Avatar for shanenin

I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code]

Member Avatar for shanenin
1
190
Member Avatar for smithag261

I want to know how to write a program to print all Armstrong numbers between 1 and 500.

Member Avatar for Dave Sinkula
1
215
Member Avatar for l3.azarmehr

hi guys i want write one program to hide process in windows. but i dont know how... ;) can you help me. i want any sample and source code. thanks

Member Avatar for Drowzee
1
157
Member Avatar for cmdolcet69

I'm having this issue on how to sort reports based on part numbers i have part numbers that i return have either a part number as in 1000 or if there have been multiple part number could be 1001-2 mean that there were 2 revised copies of the part number. …

Member Avatar for jwshepherd
1
169
Member Avatar for johnroach1985

Hi again.I was just wondering about different layouts I can use with swing and I just came accross a sample program at [url="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html[/url] anyways there was this example program that I just couldn't find the error.Anyhelp would be welcomed. The error it is giving is cannot find symbol variable springutilities …

Member Avatar for johnroach1985
1
420
Member Avatar for jwenting

[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of …

Member Avatar for freesoft_2000
1
1K
Member Avatar for Olio

i've been doing c# (breath of fresh air after 5 years with java) for a few months now, and most of that time was spent in vs.net beautiful IDE, but only one shortcoming - wont work in linux. i've went thru many hoops trying to trick it and got close. …

Member Avatar for getNerd
1
317
Member Avatar for djbsabkcb

Below is a program that determines if one address comes before another address using classes. One constructor takes an apartment parameter and the other doesn't. My errors are invalid conversion from int to const and among others. Any ideas? [code]#include <iostream> #include <stdlib> using namespace std; class Address { public: …

Member Avatar for djbsabkcb
1
988
Member Avatar for BeeNarak

Hi Anyone, I've made a web application, and now I want my web login by username and password as below but it's have got error('Login.WebForm1.DBConnection(string, string)': not all code paths return a value) anyone who can help me? [code] private bool DBConnection(string strUserName, string strPassword) { string LoginSQL; OleDbConnection MyConn …

Member Avatar for Paladine
1
172
Member Avatar for soda0091

[Microsoft VB.NET Step by Step by Microsoft Press] This book has some good things and some bad things. Unfortunately I personally found it to be lacking some of the more critical coding practices I was interested in. But at the same time it does have some good points. Good: -Good …

Member Avatar for da_1_4u_08
1
171

The End.