132,726 Archived Topics
Remove Filter ![]() | |
Hey I know this must be simple, but how do I prevent windows media player playing automatically when the form it is contained on is loaded? Thanks | |
how do i write a C++ function called RepeatingWords that displays a word (passed in through a string type parameter) N (also passed through a parameter) times. Then, write a calling statement for the function Software Development c++ | |
Hi all. I am new to C#. I am getting a zero when a multiplication. Actually i am not able to pass a values to the class from the client, through the objeuct despite having a constructor. Below is the code.(I have excluded the Cube class since it is just … Software Development | |
Hello, I need a program that calls out some code after every x milliseconds and in the same time it waits for keyboard strokes to change the interval time and code what is called out. I should use threads (one for waiting for keyboard input and others for intervalled wake-ups). … Software Development c++ | |
Hey, I'm relatively new to OpenGL but I have a little experience in C and I was wondering how I would set the pixel coordinates of an OpenGL windows. Its a little hard to explain what I mean but for example if I would like to instead of having (x,y) … | |
Hi All Based on the information below. When I call gradeArticle(myArticle, text) I get an error (free(): invalid pointer). The code works the first time and seems to error when called again. Even with all the code commented out of the gradeArticle method I still get the same error. I … Software Development c++ | |
i have a project with lv buttons ..when i load it it says lv button .ocx cannot be loaded.i have copied tat lvbutton.ocx into my system32 directory and in start menu run i have done this too regsvr32 c:\windows\system32\lvButton.ocx it also succeeded..but still it says that lv button.ocx cannot be … Software Development visual-basic | |
Well, I'm starting to get into C++ and well.. The only commands I know are simple I\O commands, so, I've programmed in C and if you know C you know that in windows.h you can do say System(""); to execute somthing in the command prompt. The thing is, I don't … Software Development c++ | |
hi.... i have an image Oscillator.gif and i want to implement the animation which is being shown by this image. can anyone tel me how to do this. or can you please give me some links or tutorials where such programs are being wrote. thanks you very much Software Development python | |
Hi, Im new to JAVA and i have a question. The following code compiles fine and executes fine. But if you assign [icode]c = '\29' [/icode], in the following code, the compilation fails. 1. How does JAVA interpret [icode]char c = '\21';[/icode] and [icode]char c = '\29';[/icode], as escape sequence … Software Development java | |
hi everyone.....i'm designing a simulator and i need to study John Conway's Game of Life. i'm getting the source code in java or c++ everywhere i search. Have anyone ever implement it using python or can you please give me a link where i can find the source code in … Software Development python | |
hi everyone. i'm try to load an image by clicking on a botton insert imag but the problem thata i having with this is that the image is not being insert it just appear and disappear immediately. can anyone tell me what is wrong with my codes and tel me … | |
Hi well ive got school project and well found this site looks like real deal not like the fake ones ive registered 2 and this site can really help?... Well ive done most of my programmeing just cant figure the search code i cant get..... I need to say type … | |
I would have the help from any one to do the program for simulating the algorithms of page replacements in operating system concepts in any programming languages.If it is not possible to say ,please give me other assistance such as other web sites or other references for this as soon … Software Development c operating-system | |
I'm working on a project that i can't seem to get done. when i try to write my constructors the compiler tells me it can't find the symbol. any idea why? here's the code. public class Student { String name= "XXX XXXX"; String studentid="XXXXXXXX"; String major="XXXX"; String studenttype="Invalid student type"; … Software Development java | |
[URL="http://www.fatayat.net/ccsi/preview.php?pre=slove&id=1146"]http://www.fatayat.net/ccsi/preview.php?pre=slove&id=1146[/URL] please im new in this language thank for us Software Development c++ | |
(I am trying to write a c++ program which computes sine of an angle without using c math library.I came up with a formula for this problem.The formula should use a factorial function in the program.I have a problem in doing this and hence i posted my code here for … Software Development c++ | |
Thank you for your advancing helping. I do have a problem in how to encode a bank account that has : 1. account number,user name , intial deposit and balance (updatable) 2. that a specific user can see his balance 3. a user can withdraw money 4. a user is … Software Development c | |
Hello, Is it possible that someone can help me with the following program? There are 500 light bulbs (numbered 1 to 500) arranged in a row. Initially they are all OFF. Starting with bulb 2, all even numbered bulbs are turned ON. Next, starting with bulb 3, and visiting every … Software Development c | |
I have to do a code in De Morgans law show that 2 expressions are equivalent. I not even sure if I am going in the right direction. Can somebody steer me right original expression - ! ( x < 5 ) && ( y >= 7 ) De morgans … | |
could any 1 tell me why this code isnt working right?? two.txt is not wriiten good... this is the code [code=c] #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> #define LEN 30 #define LENST 6 int *saveid[5]; char *savename[5]; unsigned *savegrd[5]; unsigned *saveavg[5]; int j=0,k=0; int min=0; int skip[6] = … Software Development c file-system | |
how to ingrate my code to read text in in parent folder contain sub folders and files for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name Camry and file name corolla, file name Honda contain folder accord and BMW contain file … Software Development file-system python | |
I am facing a problem in void pointers in c++. Have a look at the following code: [code=cplusplus] #include<iostream.h> int main() { void *ptr; int x=3; float y=2.35f; char c='A'; ptr=&x; cout<<endl<<*ptr; //line 1 ptr=&y; cout<<endl<<*ptr;// line 2 ptr=&c; cout<<endl<<*ptr;//line 3 cout<<endl; return 0; } [/code] I am getting the … Software Development c++ | |
Hi I am kind of stuck on one aspect of a project that I am currently working on. I have a code for a number guessing game in "C" I need the program to ask the player if they want to play again after the game is done and. I … Software Development c | |
Hello All I am trying to format my program's output to be nicer than what it is doing now, and am looking for something equivalent to the noshowpoint that would act on the fixed manipulator. Here is the story: I have a sequential integer number that is acting as a … | |
I am having with some problems with a project I am working on. I need to output simple statistics of the "ps -ef" using the line "ps -ef | a.out", a.out being my program. To store the information I need to use a Hashtable of Linked Lists, without using STL. … Software Development c++ data-structure linked-list | |
Hi, I have to implement a class called linked list that must read from file the following information about persons: name, social security and age. Then I have to implement some methods for manipulate the data. The problem is that I don't know how to start the implementation, because I … Software Development c++ linked-list | |
So I have a pyGTK app going on nicely, but it requires sudo permission (under Linux) to perform a BASH operation. If I prompt for a password using a GUI, is there any way I can do my BASH stuff without sudo asking the user for a password in the … | |
hey there guys. this im officially my first post on this forum. seems pretty impressive how much there is on offer, however its only C++ im looking for assistance with today. i have two questions. i am creating a program with lots of variables, most of which should be random … Software Development c++ | |
Hi everyone. I have a quick question regarding a 2d dynamic array, and how to print it. Here is the code I have so far: [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #define merror() {printf("Memory allocation problem \n");exit(1);} int main() { int i,j,k,z; int size; char buffer[21]; char buf[21]; char** … Software Development c | |
I would like some advice as to how to write my wc program. Program should accept a file name as input and then print three numbers showing the count of lines, words and characters in the file. Chapter 4 question 15 of zelles introduction to python Software Development python | |
Hello All I an taking a class in C++. Though I have had many years programming, it is an introductory class because one needs to learn the syntax and rules of the new language. I am writing a program that stores data in a file, and retrieves data from a … Software Development c++ data-structure | |
Hey guys, I got another stupid question. For my last assignment, I have to take a .txt file that has contacts in it, import it into python (already did that) and use it to search with. the file goes last name first name number # repeats about 4 more times. … Software Development python | |
Hello, I am trying to send directory names through the command line to program I am writing. This works perfectly until I add a space to the directory. I have tried adding Quotes around the directories and everything. The problem is then with the \ at the end of the … Software Development c++ | |
Hi, I have a string that I want converted to an integer. I tried int() but it doesn't work because of what my string (as an example) is "2*2/4". I want it to make that into an integer and just put the answer (1). Is there a simple way to … Software Development python | |
I wrote a simple class: c:\geometry\Point.h c:\geometry\Point.cpp I made a VS2005 project and added a Source File test.cpp which contains main(). In test.cpp, I #include "c:/geometry/Point.h" When I build the project I get: Unresolved external symbol "public: __thiscall Point::Point(double,double,double)" referenced in function _main. However, if add Point.h to my Header … Software Development c++ | |
someone showed me their code for their conversion program and left before I could ask question about how his program works q1:how exactly does "*" this work when not applied for mutipling? q2:does "a_base" and "b_base" work with this function unsigned long base2dec(char str[],int base) and does it have to … Software Development c++ | |
Hey, I'm new to Socket Programming, and i've only learned C recently so probably what i'm asking will be very obvious, sorry in advance (= ok Here's my code [code=C] /* * File: Inside_Client.c * Author: Ghaith Hachem and Adel Youssef * * Created on March 17, 2008, 6:12 AM … Software Development c socket-programming | |
This is the program and I have 5 errors that I can't seem to get rid of, it was a Fortran 95 program that I had to translate into C++. could somone please help me. [code=cplusplus] #include <iostream> using namespace std; int main() { //Declaration and Intialization float XL = … Software Development c++ | |
ok guys, I've got an issue where a computation is just not working but I've used the same set up in other programs and don't truly understand the deal with this one. at the beginning of the below if (the whole program lower) statement i find if a number is … Software Development visual-basic | |
i hav coded a matrix class and its member functions (many of them are overloaded ones)...now in a function..for eg. function of matrix addition.. [B]after the addition i want to return the local object "result" through a pointer (and not call by value)..however i aint getting d values of the … Software Development c++ matrix-multiplication | |
[B]a. Write a pseudo-code that prompt the user to input number of sold items and then receive the sold value for each item, calculate the average value, display the items numbers associated with its values and display also the calculated average value on the screen. b. write down the C++ … Software Development c++ | |
hi i need to read html from a url requiring that i log in to the site. how is that done? i think it depends on how the site is build? its for a torrent site, and they often use the same template as far as i know. the site … Software Development html-css | |
I'm new to c / c BUT not new to programing, I know php vary well. Well, on to my question. I'm writing a physics calc, the user enters a Vi and Angle and it gives them the rest of the info, [url=http://www.kc8onw.net/~jacob/calc.php]here's[/url] my php version. I got my c … Software Development c++ | |
hi all. i need help... 1.how do i copy a line in a text file into a struct. 2. the text file i have is this: 10 SasonSasoniBenSason 100 100 5 Pinokio 70 90 20 JohnRambo 50 87 3 Elvis 3 77 50 JamesBond 17 1 40 BillGates 91 8 … Software Development c | |
Hi I am wondering why size_t is used when it has the same functionality as an int and assigning size_t type variable to int works fine. Any one ? Thanks Software Development c++ | |
Hi all when i trying to convert a string to date and store in data base it shows type cast error code is as follows: dim s_date1 as string dim s_date as date s_date1 = s_mon & "/" & s_day & "/" & s_year s_date = CType(s_date1, Date) Software Development vb.net | |
hi I designed simple program of computing the petrol bill and save it into MSACCESS data base. This bill included decimal places. But everytime I check my msaccess database. The number is automatically rounding up or down. I try to set standard settings with two decimal places but the number … Software Development visual-basic | |
How i can get path of StratUp folder?? i m really didn't have any idea for this. please help me. any help will be appreciated. Software Development visual-basic | |
I have downloaded some example source codes in C# for example "start.cs".. How can i execute it in VS2005? i opened it in C# IDE in VS2005 and i can't seem to run it.. Anyone who can help? Software Development ide |
The End.