132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lionaneesh

[B]Introduction[/B] Hey! Guyz.. Welcome to my very short tutorial explaining basic uses of "malloc" function in C language. [NOTE : You need simple understanding about pointers to understand this tutorial] Hey guyz see by reading this tutorial you'll not be a malloc expert .. This tutorial is only for the …

Software Development c unix
Member Avatar for lionaneesh
-1
402
Member Avatar for Samoht VII

Ok so I am trying to write a piece of code that when a user inputs say "A = 'ls'" instead of outputting the files from the directory it will store the output in 'A'... If you get what i mean. SO say the directory /Desktop has stuff.txt and main.cpp …

Software Development c++
Member Avatar for Salem
-1
284
Member Avatar for anjaliua

I have created an owl ontology using protege.Is dere any way to query the owl ontology n give the results to python code??

Software Development python
Member Avatar for merchise
-1
420
Member Avatar for tquiva

Hi everyone. I just finished creating a program similar to minesweeper, but it's called miensfeld. The rule of the game are stated in the intro of the program. I was just wondering if anyone would mind checking it out for me? I just can't seem to compile it. But please …

Software Development c user-interface
Member Avatar for jephthah
-1
617
Member Avatar for nonemsludo

I am trying to write a function that returns true if the number of vowels in a word are equal to the consonants or false if otherwise, but I keep on getting an error that the word is not defined, I need help to debug my code [code] def word(n): …

Software Development python
Member Avatar for nonemsludo
-1
462
Member Avatar for larvee

How to create an assembly program that will allow the user to enter somer characters and group the characters according to the following: alphabets, numbers, and special characters. ASAP. thanks.

Software Development assembly
Member Avatar for thines01
-1
3K
Member Avatar for Ntsoaki

Hi i am new at python,i am getting problem in the above code,the problem reads as follows: Having several accounts on several servers, one has to remember many passwords. You can imagine a situation where someone forgets one of them and he or she only remembers that it consisted of …

Software Development python
-1
337
Member Avatar for brain007

Make a project, consisting of 3 modules: student.cpp, course.cpp and register.cpp. Write source and header file for a program that registers students for courses. Design a class student that stores the name of the student, the id number and array (vector) of all course numbers for which the student is …

Software Development c++
Member Avatar for Salem
-1
385
Member Avatar for kneiel

Hi i am trying to write a script to match a '' at the END of the line. For eg. i have a file Temp1 which contains :- [code] a = b + c \ +d; printf("\n"); [/code] Objective: To match the '' in the 1st line and NOT the …

Software Development objective-c shell-scripting
Member Avatar for cfajohnson
-1
890
Member Avatar for saura

Hello anyone, I am a new visual studio C++ user. and i had the same problem that " error LNK2019: unresolved external symbol ". Now i solved it through your tellings ( menu Project --> Properties (bottom item of the popup menu) -->expand the Configuration Properties tab --> Linker --> …

Software Development c++ visual-studio
Member Avatar for saura
-1
1K
Member Avatar for tyson.crouch

G'day, I'm obtaining a set of data from the DB. I know that i must use an array, however i cannot for the life of me remember what type of array i need to use. My data set contains String, Double and datetimes. Should i use an arraylist ? or …

Software Development java
Member Avatar for javaAddict
-1
347
Member Avatar for emilyp

Hello. I'm using Visual C++6.0, and Windows XP. I am trying to connect to a database. I want to add some records to it, reading the values out of edit boxes. Here is my Code: [code=cpp] CDialog::EnableConnections(); ::CoInitialize(NULL); _ConnectionPtr con; con.CreateInstance(__uuidof(Connection)); con->Open(L"Provider=Microsoft.Jet.OLEDB.4.0;DataSource=C:\\Documents and Settings\\204504519\\Desktop\\webcam.mdb",_bstr_t (""),_bstr_t(""),adOpenUnspecified); _CommandPtr cmd; cmd.CreateInstance(__uuidof(Command)); cmd->ActiveConnection = …

Software Development c++ webcam
Member Avatar for iravishekhar
-1
550
Member Avatar for KatWoman27

This is what I need help with: "Write an application to simulate the rolling of two standard six-sided dice. The application should use an object from the class Random to roll the first die and then again to roll the second. Each die can have the values of 1 to …

Software Development java
Member Avatar for javaAddict
-1
381
Member Avatar for freakvista

Hello guys. I need for my homework to make a game, and i wanna do "who want to be a millionaire" but i donno much commands in pascal:| so .... i wanna be like reality>:) it's to hard? i dont think so...

Software Development pascal
Member Avatar for jwenting
-1
619
Member Avatar for sasisam

i want to record report printed date and time when user click on the crystal report print button (which is in the crystal report viewer control). is there are any event like click event.. for that crystal report print button. i want to keep record of printed report. i am …

Software Development vb.net
Member Avatar for sasisam
-1
2K
Member Avatar for vladdy19

I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks

Software Development c c# c++
Member Avatar for lmpmbernardo
-1
814
Member Avatar for abar_sow

I need a java code for downloading files from the internet ..For example I want to download doc,pdf files from the internet means i have to do it through my code ..So can anyone help me

Software Development java pdf
Member Avatar for peter_budo
-1
889
Member Avatar for lwschjang

I'm pretty lost on this. I have no idea how to get my program to work. Basically, when an option is selected a price should show up in the text box automatically. Thank you all for your help. Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JComboBox cannot be cast to javax.swing.JTextField at …

Software Development java java-swing
Member Avatar for lwschjang
-1
4K
Member Avatar for johnroach1985

Hi there. In a day I have to connect to a lot of networks and each network has its own setting. Each time I have to re-configure my Windows Vista Home Edition IP confiugrations which is both slow and quite annoying. Thus I decided to write a program in C# …

Software Development c# dns windows-vista
Member Avatar for johnroach1985
-1
292
Member Avatar for mister-fett

Since no one has posted in this forum as of yet, I decided to tap out a quick scheme. This program, when run through the Mr Ed part of dr scheme available from [url]www.drscheme.org[/url] , will cause a window to pop up with text and a button. By clicking the …

Software Development
Member Avatar for Rashakil Fol
-1
306
Member Avatar for Haxorz

Guys, I really need your help !! I am using VB.Net & I have a Data Grid View in which I have 3 Columns and Dynamic Rows (user can insert rows based on their requirement). My problem is, I want to populate the value's in the rows that are being …

Software Development vb.net
Member Avatar for Haxorz
-1
314
Member Avatar for anshuman444

I am using XSL to transform the XML.I am generating a Excel sheet using XML/XSLT. I want to password protect the sheet. If a user try to modify any cell then it ask for password? <?xml version ="1.0" encoding ="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" …

Member Avatar for WenCounty
-1
251
Member Avatar for lionaneesh

The books i have already read :- 1. C ANSII Edition ( Cant understand their language ) 2. C tutor 3. Pointers and memory ( Stanford )

Software Development c
Member Avatar for Narue
-1
250
Member Avatar for mosespascal

I am a first year engineering student and i am very intresred in programming using c++ basically to use it in creating my own search engine.Please anyone to help in step by step as I have started learnig c++ language because I dont have prior kowledge in programming.

Software Development c++ engineering
Member Avatar for Fbody
-1
879
Member Avatar for pateldeep454

[COLOR="Red"] This is my assignment: [/COLOR] The field of calculus is largely concerned with the concepts of the derivative and the integral of functions. Derivatives and integrals are closely related because they "undo" or reverse one another. If the derivative of a function is taken, a new function is obtained …

Software Development java mathematics
Member Avatar for javaAddict
-1
760
Member Avatar for Iqbal_h_a

[code] Can anybody please tell me how to calculate/find total remaining(unused/free) memory in the system(using any functions)? Thanks Iqbal [/code]

Software Development c
Member Avatar for wsgeek
-1
454
Member Avatar for rceena

I want to convert binary file to ascii. how to do that in C

Software Development c++
Member Avatar for WaltP
-1
1K
Member Avatar for hurricane123

I have written a scanner program for oberon language compiler but its incomplete,in the botton i need to write certain code to make this program work properly,so can anyone help me to make this program work properly. [code] FILE *input; int row, col; token t; char buff[bufflen]; int tabwidth; int …

Software Development c++ unix
Member Avatar for WaltP
-1
593
Member Avatar for fruymercado

[split from [url]http://www.daniweb.com/forums/post1162537.html#post1162537][/url] how can i create like that program but i need to have more questions and i dont nid to use the life time because lifetime is dificult so please help me or give me a program to use in our c++ subject here in MAPUA. please i …

Software Development c++
Member Avatar for jhaiskie
-1
526
Member Avatar for Dudani

The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5, 8, .... Formally, it can be expressed as: f ib0 = 0 f ib1 = 1 f ibn = f ibn−1 + f ibn−2 Write a C program using the fork() system call that that generates …

Software Development c
Member Avatar for Dudani
-1
7K
Member Avatar for Gnawk

C++ program that will implement the popular numerical procedure called Thomas Algorithm. this is my final project in the lab which i have no idea how to start off... and i am really bad at c++ because this was my first ever programming class i ever took in my life... …

Software Development algorithm c c# c++
Member Avatar for WaltP
-1
1K
Member Avatar for pythonNerd159

hey all. i need some help with my calculator and i was wondering if anyone knew how to make it so if you click on a button it would pop up the value of that button in the entry screen. [CODE]## -*- coding: utf-8 -*- ## SDD, Major Project, Extreme …

Software Development python tkinter
Member Avatar for Alq Veers
-1
292
Member Avatar for Aisha25

Suppose you save $100 each month into a savings account with the annual interest rate 5%. So, the monthly interest rate is 0.05/12 = 0.00417. After the first month, the value in the account becomes 100 * (1 + 0.00417) = 100.417 After the second month, the value in the …

Software Development java
Member Avatar for kvass
-1
816
Member Avatar for P.manidas

Dear Sir/Madam, As I have seen VB 6.0 is supporting Icon files, Metafiles and BMP files for using in the PictureBox property of ImageBox, PictureBox, and CommandButton. I have tried ICON file to use on those Controls, but some ICON files are supported and some are not supported. So, I …

Software Development visual-basic
Member Avatar for kinwang2009
-1
2K
Member Avatar for rms360

i've done a of couple searches on this board and i haven't really found any answer to this. so- how can i get graphics into my c++ programs. From the books i've been looking through there aren't many, if any graphic commands, in the .net and visual c++ versions of …

Software Development c++ visual-studio windows-xp
Member Avatar for khalil88
-1
630
Member Avatar for infrapt

//Trying to read double values from each line of a file..and try to store them in arrays //when i debugged,it doesnt do the parsing for the alldoubles e.g txt file consists 2.3,4.5,6.2,4.5 2.8,2.4,4.6,1.2,3.5 3.6,3.8,5.9,4.9,12.6,112.8 trying to put them in separate arrays [code] //CODE?? #include <stdio.h> #include <stdlib.h> #include <string.h> FILE …

Software Development c file-system
Member Avatar for abhimanipal
-1
1K
Member Avatar for yanni13

Hi, I've got two programs (client and server) using sockets. The program are working fine if I set the client IP to local host (127.0.0.1) or the LAN IP (192.168.0.3), but can't connect if the IP is set to external Internet IP (92.24.xxx.xxx). Anyone have an ideea, please? Thanks!

Software Development c++ client-server tcp-udp
Member Avatar for yanni13
-1
290
Member Avatar for 143wena

please help me on this.. i have to make a payroll system using turbo C program but i don't know how to make it.. pretty please...:)

Software Development c
Member Avatar for WaltP
-1
605
Member Avatar for vijayr_singh

Hi friends... I need to write a program in C which will print all the combinations of a string with non-repeating characters. Example: “Say” will have the following: S, a,y, Sa, Sy, aS,Sy, yS, ya, aSy,Sya,ySa and so on. The string length is not known. The string will be a …

Software Development c
Member Avatar for siriussam
-1
898
Member Avatar for marshella

how to write a program in c++ for this type of question? Write a calculator program in c++ that allows the user to select which operation they would like to perform such as: Addition, subtraction, multiplication, division, modulus, Square, Square root, Convert Celsius to Fahrenheit (Fahrenheit = 1.8 Celsius +32), …

Software Development c++
Member Avatar for nats01282
-1
321
Member Avatar for ambarisha.kn

I want to read all files in a particular folder using C programming. HOw to do this. Thanks. Ex: I have some 5 files in folder named c:\temp. I want to read all files one after another and want to write output file for each input file. The output files …

Software Development c
Member Avatar for Ancient Dragon
-1
1K
Member Avatar for turrence27

okay so im new to programming and have an assignment im not sure how to do the question is. The original U.S. income tax of 1913 was quite simple. The tax was [INDENT]1 percent on the first $50 000[/INDENT] [INDENT]2 percent on the amount over $50 000 up to $ …

Software Development c++
Member Avatar for WaltP
-1
1K
Member Avatar for smbee

I have written a program for the famous game of life problem. The program is running perfectly for the sequential version. Now I am trying to implement it in parallel with MPI. I am just sending the main function where I am calling two functions. Calculate is updating the array …

Software Development c
Member Avatar for smbee
-1
282
Member Avatar for MichelleCrews

ok ... first i had to make a function that tells you if the number you choose is a magic number or not ....(perfect number) ... i figured that out now i have to make a function that prints the magic number ... The second function, called print_magic, has a …

Software Development python
Member Avatar for MichelleCrews
-1
505
Member Avatar for samratfriendz

Hello Friends , I from India, name samrat. i am c# sharp beginner. The Problem is My code is showing Error 1 The name 'choice' does not exist in the current context. So any help would be appreciated. code- [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BasicCalculator …

Software Development visual-studio
Member Avatar for samratfriendz
-1
1K
Member Avatar for Yodamadashi

Hello, I have been working on a very simple Python Game so far (Not using pygame atm) and I ran into a problem that is very simple but I just do not know what to use to get it to work. Basically what I have right now is that the …

Software Development python
Member Avatar for sharmine
-1
719
Member Avatar for md21holla

Hi guys! Ok so this is my first year in college and I am having a lot of trouble with my computer course which mostly consist of writing java programs. I am falling way behind in class and i have a mid term due next week. It is REALLY causing …

Software Development java
Member Avatar for tux4life
-1
906
Member Avatar for G_Waddell

Hi All, I hope someone out there can help with this. I'm writing an app where a user selects a folder on the network for a job to deposit output into. The person setting up the job will not necessarily be the same person who runs the job and that …

Member Avatar for G_Waddell
-1
2K
Member Avatar for nayadin

1) The class interfaces do not follow good object-oriented design principles, which make them bug-prone and hard to extend/subclass properly. Improve the object-oriented design of the classes. 2) The class interfaces are almost completely undocumented. Include proper interface documentation in the .h-file. 3) There seems to be a bug somewhere, …

Software Development c++
Member Avatar for VilePlecenta
-1
394
Member Avatar for NotNull

Assembles under NASM 16-bit, invoke INT 0x65 to display message.

Software Development assembly
Member Avatar for NotNull
-1
419

The End.