199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Confused@JS

I need help positioning my sidebar on my browser. Every time I scroll down the sidebar follows down the screen causing me to lose half the info on the sidebar and only showing what fits in the screen. It has became a really pain in the @ss and I would …

Member Avatar for mikki2
1
221
Member Avatar for mrcniceguy

i were working offline all the time with wampserver installed in my comp. but after i loaded it in school server i experienced a problem, in my web after login in your own profile appears also their is a link were you see other members profile. My problem is that …

Member Avatar for rgviza
1
292
Member Avatar for Stack Overflow

Hello fellow programmers, This is a tutorial about using pointers in the C environment. Please, don’t hit the back button; pointers aren’t as hard as you think. In fact without pointers, most of us would be lost in our latter programming years. Even though pointers are for the experienced, as …

Member Avatar for PeterPimmel
1
572
Member Avatar for sanoski

I recently bought a book on Python, and I'm working my way through it. However, I've come to a very simple program, but I can't understand a certain part of the code. Can someone explain? [QUOTE]# Print out a date, given year, month, and day as numbers months = [ …

Member Avatar for sanoski
1
269
Member Avatar for mcgarry101

Hi, I am writing what should be a very simple app to play wav files directly from my hard drive. As a test, i have run the simple code below <code> My.Computer.FileSystem.CurrentDirectory = "C:\Windows\Media" LbClips.DataSource = _ My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.CurrentDirectory, _ False, _ "*.wav") </code> however i am getting when …

1
59
Member Avatar for MjLaali

Is there any way to pass a class as a function pointer. for example: [code=C++] int compare(int a, int b) { return a - b; } void sort(int *ar, int (*pf)(int, int)) { //a sorting algorithm. } class MyClass { bool condition; public: int compare(int a, int b) { if …

Member Avatar for bugmenot
1
136
Member Avatar for drichird

It's tough being 50 and back in college! If anyone has recently taken an Algorithm class, my question is this: Is the proof for Prim's algorithm any different than for Kruskal? I understand both algorithms are greedy in the sense of picking the least weight edge each itiration. Prims only …

Member Avatar for sarehu
1
456
Member Avatar for ITech

hi i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no primary key) 3.package info table(fields are listed below package id, …

Member Avatar for jireh
1
285
Member Avatar for dskumar_85

hai friend's wht r the components required to design a new media player >>>>> the media player should support all the video format as well as audio format , plz post ur replie's....

Member Avatar for dskumar_85
1
97
Member Avatar for watermark

I am very new to both Python and programming. I am in need of some help with this small project that I am working on. I have several text files in a directory. I want to compile them into one master file. There is a common variable, x and y …

Member Avatar for linux
1
178
Member Avatar for Narue

Here's a challenge for you C++ aces. The challenge is to write a function with the following declaration: [code] unsigned long extract_digits ( unsigned long x, size_t n, size_t i ); [/code] This challenge has three parts. [B]Part I (Beginner):[/B] Write the extract_digits function. It should return a sub-value of …

Member Avatar for ivailosp
1
681
Member Avatar for Metahuman

I have to output a collection of strings and integer values such that there is one string followed by an integer in one line. the problem i am having is to arrange it properly on the display Example: I am trying to print: or rather what i am able to …

Member Avatar for BearofNH
1
195
Member Avatar for $nipa

i was wondering what language would any 1 recomend for some one interested in learning programming. I am out of school i am 17 and i want to learn how to program i dont know what i want to start with i heard that its good to start with C# …

Member Avatar for ronicasingh
1
354
Member Avatar for Crazycfk

i am done with my c++ class and got a passing grade but this project problem that i was suppose to do is incomplete and is stuck in my head so I want to try and finish it but i am stuck here... not sure if i am using a …

Member Avatar for Ancient Dragon
1
123
Member Avatar for DanLB

Hi all I'm new to this forum - Hope you can help me with my problem. First off all; I apologize for my poor english skills, i'm from sweeden I'm trying to make a simple phonebook by using a vector of struct's. As you can see in the code pasted …

Member Avatar for Ancient Dragon
1
530
Member Avatar for rathmal

please i want help for the coding of page replacement algorithms implemented in c language

Member Avatar for Rachnamb
1
615
Member Avatar for Estella

I want to change font of all controls in a form. how i can do this?? i can change font but just for each control not all control in a same time... please help :)

Member Avatar for Jx_Man
1
173
Member Avatar for midimatt

I'm getting Linker errors when trying to compile my OpenGL code with Dev C++, the code compiles perfectly on the university machines using Visual Studio. I've visited several sites that explain how to get openGL to work om Dev C++, and i've followed the steps. -Installed the Dev Pack. -added …

Member Avatar for midimatt
1
356
Member Avatar for jrcagle

Hi all, This is the beginning of a hopefully useful project: to create a Canvas widget for wxPython that will mimic or improve on the Tkinter Canvas widget. Those of you who have coded with both will probably know what I'm talking about. With Tkinter, you can plop items like …

Member Avatar for BJSH
1
547
Member Avatar for noble3ad

Hello, I'm in an introductory computer programming course and I'm very new. I've been trying to write a program that will allow a user up to five tries to guess a randomly generated number. Here is what I have so far: [code] #include <stdio.h> //enables printf and scanf functions #include …

Member Avatar for noble3ad
1
115
Member Avatar for azadeh.mohajeri

I want to handle a program about flight ticket reservation I write 50% of program but I don't know how to write the[B] RESERVE FUNCTION[/B] if anyone have Idea for this please send me the reply. Regards Azadeh:)

Member Avatar for ithelp
1
103
Member Avatar for smiles

I am programming for a microcontroller using CCS compiler (which based on C language) My code is pressing button to select a specified time then using that time to switch on and off a lamp, for e.g The value I got when press button is an int, with 0x31 stand …

Member Avatar for smiles
1
151
Member Avatar for vaibhavs

Hi, I have a PHP Script. I need the referrer website address for this script. I used the following 2 commands: getenv('HTTP_REFERER'); $_SERVER["HTTP_REFERER"] I believe both are the same. But in majority of the cases I am unable to get any values using the above 2 variables. I would not …

Member Avatar for vaibhavs
1
243
Member Avatar for scorpionz

Hi This is Scorp I have Little issue about phpmyadmin. When i write [url]http://localhost/phpmyadmin[/url] on my url and Press Enter i got the Login Screen and i tries every username and password, but everytime it gives same error Error MySQL said: #1045 - Access denied for user 'pma'@'localhost' (using password: …

Member Avatar for nav33n
1
504
Member Avatar for richie513

Hi guys, I am a bit stuck and after some help. I studying through a book called practical web 2.0 applications. Through this book you build a full application as you are learning. Now I have got to a section and can't go further. When I go to insert data …

Member Avatar for richie513
1
203
Member Avatar for jenna_baby

instructions [CODE] Skills needed: while loop, logical expressions, nested if-else statements Your assignment for MP3 is to calculate the monthly bill for a cell phone user given the following rate structure. Note that this is a simpler structure than in real life – you do NOT have to be concerned …

Member Avatar for ithelp
1
96
Member Avatar for Squeeker

Hello all, I am working on a program that takes input from a file, removes extra white spaces and outputs the edited text to another file. So far my program deletes 1 whitespace whether the whitespace should be deleted or not. I have read about peek() and putback(). I am …

Member Avatar for Squeeker
1
1K
Member Avatar for flo-0001
Member Avatar for ivobrett
1
170
Member Avatar for jrkeller27

I am writing a simple program that reads in a plain text file (ignoring numbers/symbols) and stores each unique word and the frequency it appears in the text file. This information is stored in a multimap<string, int>. I want to sort the elements in the multimap so as to facilitate …

Member Avatar for vijayan121
1
118
Member Avatar for apontutul

[code] <h3>Administrator Login Here:</h3> <p>ENTER USER NAME : <input type="text" name="text2"> </p> <p> ENTER PASSWORD : <input type="password" name="text1"> <input type="submit" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"admin",text1.value,"admin") > </p> </form> <script language = "javascript"> function validate(text1,text2,text3,text4) { if (text1==text2 && text3==text4) load('http://localhost:8080/vote-0.3/admin/'); else { alert("You should'nt be there"); } } function load(url) …

Member Avatar for bruceshining
1
228
Member Avatar for vishalkhialani

I have learned the basics of c++ and found out that different c++ compilers behave differently especially when it comes to errors. I would like the community to advice as to which compiler is the most popular and if it can be used with .net so that once I develop …

Member Avatar for vijayan121
1
200
Member Avatar for kartik14

When I compile and run my programs in Dev C++, the output window opens and shows the output. Then instanlty the window flashes and disappears. How do I make the window stay long enough for me to read the output?? Thanks

Member Avatar for Duoas
1
13K
Member Avatar for mysterio

Write a program that read a line of text, changes each uppercase letter to lowercase and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome Output: Please enter a line of text I am A.I …

Member Avatar for gkbush
1
585
Member Avatar for Jx_Man

Hi masters..., anyone know this method ("Genetic K-means Algorithm / GKA") ?. this method used for clustering data. so, i need some article or tutorial about this or similar with this method... i have been looking for this article from internet but i didn't get the good one. maybe i …

Member Avatar for Jx_Man
1
143
Member Avatar for sneekula

I have a dictionary of chemical symbols and names, to look up the symbol and get the name is easy, but to find the symbol of a given chemical name seems to be more akward. Am I missing something here? [code=python]# small dictionary of chemical symbols symbol_dic = { 'C': …

Member Avatar for jrcagle
1
245
Member Avatar for manish_gajjar

i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done?

Member Avatar for kiwisites
1
76
Member Avatar for jochem23

Hello, I have a problem and i'm not sure if the solution i have is the only way to solve it. I'm trying to developing a webapplication in vb.net which enables users to print documents on their own pc. It should do some more stuff on the client (provide ATM/PIN …

Member Avatar for SheSaidImaPregy
1
356
Member Avatar for rajatC

How to output to an excel file and how to read from it?? i have done the writing part...to use [inlinecode]"\t"[/inlinecode] for moving to next cell in same row and [inlinecode]"\n" [/inlinecode]to move to next row... and is there any special format to save that excel file..because when i save …

Member Avatar for jacki
1
6K
Member Avatar for kashmir323

I started c++ a few days ago and I am trying to make this program for my math class just to test myself. This is my code. [CODE]#include <iostream> using namespace std; int main () { int goldennumber; int finalnumber; int ratio; cout<<"Welcome to Easy Golden Ratio Finder!\n"; cout<<"\n"; cout<<"\n"; …

Member Avatar for kashmir323
1
89
Member Avatar for Spaiz

Hello everybody, Yesterday I finished testing a new CMS I developed for a while, and now I'd like to ask for your help. Could you please help test this system under different PHP version/settings? The system works on a flat file database class I wrote, so no database setup or …

Member Avatar for Spaiz
1
9K
Member Avatar for Jade_me

hi again, i have project which i set form border style to none, but i can't to dragging form anymore. please help me how to do this with code sample cause i don't have any idea... ok. help me all... best regards from u..

Member Avatar for Mbt925
1
152
Member Avatar for luv2die

hi all, i need help in extracting data out of a txt file and then modify it. this is the problem i have a txt file (customer.txt) storing some data account no. money 123 3000 293 2300 874 3400 and this is the output i have to show [COLOR="red"]Customer Purchase: …

Member Avatar for luv2die
1
121
Member Avatar for zoner7

[CODE] #include <iostream.h> #include <time.h> #include <stdlib.h> #define MAX_RANGE 1000 main () { long value, guess; int tries = 0; srand ( time (NULL) ); // Initialize random generator value = rand()%MAX_RANGE+1; // Get random between 1 and MAX_RANGE cout << "A random number has been selected between 1 and …

Member Avatar for kv79
1
399
Member Avatar for Ravenous Wolf

i have finished coding a c# program and it is fully debugged. but what is the next step? the program has to be installed on my manager's computer but i little idea how to proceed. i know that i can publish the program to some location on my hard disk. …

Member Avatar for Jugortha
1
172
Member Avatar for ashishprem

Hi All, I need to color few items in a list box having style as checkbox. I can understand that getting this done is not so easy. But I need to do this for my project. Can i use any other component instead of listbox like listview. can someone pls …

Member Avatar for choudhuryshouvi
1
4K
Member Avatar for hybridkdm

Please help, I can compile this program as long as I don't put in a wrong number. The numbers are supposed to be between 100-999. If I type in anything else, it lets me input the information but I can't access anything after that. Ex: i type in info for …

Member Avatar for danzona
1
127
Member Avatar for scru

Something hit me today. I've already left A level college and I have no idea what I want to do as a career. Before, I used to tell myself "Software Engineering", but I think I knew a long time ago that it's not something I really want to do. Right …

Member Avatar for FireNet
1
150
Member Avatar for AbberLine

Hi Recently I started programming C (not C++) in borland 4.5 at school. Now my teammate and I have to make a small game. Therefor I will use an two-dimensional array, the field (a table, rows and colmnes). This two-dimensional array holds chars ("X", "|", "J", "-" and " "). …

Member Avatar for AbberLine
1
224
Member Avatar for klrdn

I copied qbasic.exe and qbasic.hlp (no way to tell the version ?) from my Dos 6 Install floppy into a folder. Qbasic.exe executes ok either from within or outside the folder, but can't access its help file. I used the qbasic options 'help path' tab to enter the correct path …

Member Avatar for klrdn
1
497
Member Avatar for ivabigun

Hi, I am wanting to reverse mod 128 or 255 on ASCII values, does anyone know how to do this? Thanks

Member Avatar for ivabigun
1
150

The End.