132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Lotus_2011

my code convert from decimal to octal here is but say input 26 ,output 23 i want output =32 what can i do? [code] void main() { int value; cin>>value; //value=26 int rem=0; while(value!=0) { rem=value%8; if(rem%8!=0) { value--; } i++; value=value/8; cout<<rem; //output 23 [/code]

Software Development c++
Member Avatar for Narue
0
89
Member Avatar for atn

Hello, this is a real simple question, but i have a problem. I am trying to make my Video.cs form to show up when the menustrip is clicked from the MainForm. I double click the menu strip item to put in the code. Do I put in the name of …

Software Development video
Member Avatar for JerryShaw
0
87
Member Avatar for programmer321

[code] Hello, I need to search from a text file all those number from the lines which which lie in the range 1 to 120. Say I have a file with number: 1 2 3 900 1200 so on... I want to only those lines which has numbers in the …

Software Development shell-scripting
Member Avatar for radoulov
0
304
Member Avatar for choudhuryshouvi

Hello folks, i'm in urgency to build a windows application using c# which can send sms. So anyone here can tell me or show me some resources to help me out on this problem --> [B]"how to create an application that can send sms through webservice to indian cell phone …

Software Development
Member Avatar for tgreer
0
149
Member Avatar for bhoot_jb

can anyone tell from where i can download the latest bloodshed dev C++ IDE... my problem is i am not able to access the [url]www.bloodshed.net[/url]... :( so is there any other link to download it??

Software Development c++ ide
Member Avatar for bhoot_jb
0
156
Member Avatar for musicmancanora4

Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would i put that in a <h1> html tag which is defined in my css file. [code]<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>[/code] i get errors in xalan when i do that? The results of the value-of select i want it to be in a different font …

Software Development html-css xml
0
96
Member Avatar for Mackjan

Hi I have a function which rand digit between a and b. it maybe 2,3 or more digits. I want to save these digits in a list and then use them in another part of my program. How can I do it? [code] def dela(x): sum=0 while sum <x: b= …

Software Development python
Member Avatar for Mackjan
0
85
Member Avatar for jmines

This is my program of stacks. The problem is this that it does not show output. whenever I run the program, the output screen flashes and nothing else happens. (using Dev-C++) Don't know what's the problem with it. [CODE] //****************************STACKS******************************** //===============Stacks using linked list(Arrays)================= #include<iostream> using namespace std; int avail=-1, …

Software Development c++ linked-list
Member Avatar for jmines
0
120
Member Avatar for sonia sardana

Please Frd me the .Net Architecture + SQL Architecture???

Software Development vb.net
Member Avatar for Ramy Mahrous
0
74
Member Avatar for choudhuryshouvi

Hello Folks, I'm trying to write a program though which I can access my system registry. Both reading and writing actions have been encapsulated. Among these I have successfully done with reading a key value from my registry. But the storm arises when I make my move to write to …

Software Development microsoft-access
Member Avatar for choudhuryshouvi
0
223
Member Avatar for shotjase

i have this constructor to display a bitmap and it displays with 1's and 0's..i jus need 2 know how 2 make the 0's into *'s...i think its an if statement but i dont know exactly were void bitmap::display() const { for (int r = 0; r < numrows; r++) …

Software Development c++ display
Member Avatar for shotjase
0
83
Member Avatar for still_learning

Hey guys, I am working on some software and I have ran into an issue which I cannot seem to get past. This is probably easy for most of you, but I am rather new to c++ and could use some help. Basically what I need to do is read …

Software Development c++
Member Avatar for Luckychap
0
104
Member Avatar for wsn

Hi, I'm writing a program where the user can enters numbers and these numbers are stored in a file, then the numbers are read from the file and a certain calculation is done to each number by creating a thread for each My problem is: The first problem is whenever …

Software Development c user-interface
Member Avatar for Salem
0
107
Member Avatar for Moporho

Hi, I need help with a Golf Stats Program I am trying to complete. It is a dat file. My averaging functions are not working. Can someone suggest what I can do to correct the problems with both averaging functions? main [code=cplusplus] #include <iostream> using std::cerr; using std::cout; using std::cin; …

Member Avatar for Ancient Dragon
0
181
Member Avatar for mofoparrot

Hey guys, I have been working on this program for my entire semester. I got it down to do what I want I think... except when I compile it, I get no errors or warnings (using Dev) and when I execute it runs through half of it and it stops …

Software Development c++ file-stream ios
Member Avatar for mofoparrot
0
156
Member Avatar for kahaj

I'm trying to create a .txt file that will hold a handful of numbers. I want to be able to add them, then retrieve the sum with my program (or retrieve the numbers and add them via the program, whatever). Unfortunately, I haven't a clue how to accomplish this. Also, …

Software Development file-system vb.net
Member Avatar for kahaj
0
100
Member Avatar for mussa187

What i am trying to to is the following when user inputs ./test U [url]www.google.com[/url] I <ip here> same for ./test U <URL here> I <IP here> using command line input argv and argc here is what i have done so far, [code=cplusplus] #include <iostream> #include <cstdlib> #include <string> using …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
114
Member Avatar for rumencho

Hi all,I have some intermediate knowledge on c++ but I have a few questions about windows programming. [CODE]int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nCmdShow) {.... } [/CODE] now here I don't understand the word "WINAPI" in c++ I have never seen such tning.. what does it mean? …

Software Development c++
Member Avatar for Duoas
0
123
Member Avatar for rem0404

the program keeps track of a persons musical library. addsong checks to make sure that the data being entered is not already present in the file. if it is present, it is not added, if it isn't present, it is added at the end of the file. the removesong function …

Software Development c++ file-system ios
Member Avatar for rem0404
0
80
Member Avatar for rem0404

the "addsong" function working, i just dont know how to tell the compiler to [B]skip over[/B] elements in the vectors with empty strings, when writing the new data to the music_library file. this is because i have to write a remove song function where, after the song is removed, the …

Software Development c++ file-system ios
Member Avatar for Ancient Dragon
0
116
Member Avatar for urmybaby

1. Achilles and the Turtle (10 Points) Write a program that simulates a race between Achilles and the turtle. Here is an example run (the user input is underlined): Where does Achilles start? 0 How many feet is the turtle ahead? 100 How many feet does Achilles run per second? …

Software Development python
Member Avatar for BearofNH
0
202
Member Avatar for rem0404

so this function is working correctly (as far as i know) but the only thing that i haven't quite figured out yet is how to send the new input, and completely overwrite the existing "in_stream" file. this program opens a file (containing song titles, artists, and their genres) when the …

Software Development c++
Member Avatar for Necrolis
0
172
Member Avatar for cb02061

Can anyone please help on how to create log file in Visual C++ using MFC????

Software Development c++
Member Avatar for Necrolis
0
3K
Member Avatar for Lotus_2011

hey Iwant to convert from interger to character char num[1000]; num[i]=rem; strrev(num); what is wrorng whith this form?? warning : warning C4996: 'strrev' was declared deprecated I can't understand this warning Hope Help me

Software Development c++
Member Avatar for Colin Mac
0
144
Member Avatar for n8makar

ok short and sweet hopefully. suppose you have a struct like so [CODE] struct SomeName { string id; } [/CODE] and you read data from a file into the id then you want to search for a specific id that has a relationship to a name [CODE] long findStudent (StudentList …

Software Development c++
Member Avatar for n8makar
0
100
Member Avatar for saurabh.verma

hi, i am basically adding files to my listview through this code [code] For each n as string in my.computer.filesystem.getdirectories("C:\Testing\") Listview1.items.add(n,Imagelist1.images.count - 1) Next [/code] so all the files inside testing folder show up on the listview the problem is that they all show up but they show up with …

Software Development listview visual-basic
Member Avatar for saurabh.verma
0
104
Member Avatar for Edwards8

OK, here is a litting script I wrote (admittedly with some help from [URL="http://www.pythonware.com/library/tkinter/introduction/hello-again.htm"]http://www.pythonware.com/library/tkinter/introduction/hello-again.htm[/URL])that will allow me to cloak in with ease here at work. Only.... since I sometimes log into the computer multiple times in the day, I wanted to use Tkinter to give me a yes/no button. But.... …

Software Development python tkinter
Member Avatar for Edwards8
0
160
Member Avatar for comjisu33

First, write a class called TFQuestion that represents a true/false question. This class should have exactly two instance variables: a String variable that holds the statement of a true/false question, and a boolean variable that holds the correct answer. This class should provide the following public methods: A constructor that …

Software Development java
Member Avatar for comjisu33
0
121
Member Avatar for jedi_ralf

I am new to awk, so please excuse any mistakes. I was hoping someone would be able to tell me if it's possible to include variables in a regular expression, and if so, how. The code I currently have is the find the beginning of link (<a) and image (<img) …

Software Development shell-scripting
Member Avatar for jedi_ralf
0
244
Member Avatar for BluePaper

Hey, I am currently having some problems with VB.net and MSSQL. I'm trying to create an application to learn more about VB.net, I decided to create a simple login system for the application (like the ones they used in distributed applications which have a centeral SQL server). I have come …

Software Development mssql open-source sql vb.net
Member Avatar for bcasp
0
1K
Member Avatar for varshini

can someone teach me files.....

Software Development c++
Member Avatar for Salem
0
67
Member Avatar for namrata_k

Hi all, [COLOR="green"][/COLOR]Please reply me soon !!![COLOR="Red"][ICODE][/ICODE][/COLOR] i have made my database in Ms-access and using vb.net for front end. My system is working fine with database stored in same pc of client(by giving path c:/.....). But i have to show my project using seperte server pc n client pc. …

Software Development client-server vb.net
Member Avatar for jbennet
0
127
Member Avatar for atn

I was wondering how I would go about doing this. What is the coding for this? Trying to do something extra that wasn't taught in the class. If anyone knows and could help, that'd be great. Thanks! Anthony

Software Development
Member Avatar for Narue
0
157
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

Software Development dataset open-source
Member Avatar for bcasp
0
112
Member Avatar for Daniel1505

Hi, I am trying to create a program that stores employee records in an array, and also has the option to delete records and view various details. I am trying to create a menu so that when you choose an option the request will be carried out, the problem I …

Software Development pascal
Member Avatar for Duoas
0
131
Member Avatar for chts12345

Hi All I was discussing halting halting problem with one of my friend yesterday. He asked me a good question. Here is the question: "Let P be the class of all Pascal programs that don't use go to ,while and repeat statements, nor recursive procedure calls.Is Halting Problem Valid for …

Software Development pascal
Member Avatar for Duoas
0
171
Member Avatar for apocrypha

Hi guys, I'm writing binary data to a file using fwrite. I can't get rid of '0x0D' whenever it writes '0x0A'. I use hex-viewer to check data. For example, if data is '0x01 0xFF 0x0A 0x0E', it writes '0x01 0xFF 0x0D 0x0A 0x0E' Is this because fwrite writes by byte, …

Software Development c
Member Avatar for apocrypha
0
35
Member Avatar for bhoot_jb

hey friends i am in dilemma of which compiler to use.. i have been working on windows OS. also the C++ concepts that we are taught in our college are practically taught on Borland Turbo C++ compiler (dunno how aged it it :P) :( i mean we people write the …

Software Development c++ gui
Member Avatar for bhoot_jb
0
143
Member Avatar for replyfast

i have a text file <start>welcome!30 is my class roll number<end><start>A is the first alphabet<start>12345678919<start>c++ is a good language and <start> and <end> are strings. I have to create a c++ function that will delete only those text ocurring between <start>and<end>,including <start> and <end>.Text that starts with <start> and does …

Software Development c++ redhat
Member Avatar for Agni
0
79
Member Avatar for computer engW

[COLOR="Red"]Today I have some question and their solution ,but I have problem with some.[/COLOR] [COLOR="red"][COLOR="Green"]Q1: Write a program that checks if a sequence of positive numbers is in increasing order or not.[/COLOR][/COLOR] [COLOR="Red"]I don't know what is missing her?![/COLOR] Solution: [CODE]#include<iostream> using namespace std; int main(){ int value,check=1; cout<<"Enter a …

Software Development c++
Member Avatar for computer engW
0
105
Member Avatar for resooul

Hi, i need a program which formats the floppy. Can you help me about this problem?

Software Development assembly
Member Avatar for sDJh
0
99
Member Avatar for rkpalmer

Hi everyone, I am pretty new to C++ Programming... but am currently working on a project where I need to try and get an old fortrans program working again... I have the executable which can start up and run through initialization, but once I try to run the simulation it …

Software Development c++
Member Avatar for rkpalmer
0
138
Member Avatar for swaters86

Basically, I'm building a aspx calculator page for a client. What the visitor has to do is fill out the textboxes with a number. it takes the sum of all the text boxes, multiplies the sum by one number to get the minimum value and then another to get the …

Software Development client-server microsoft-office vb.net
Member Avatar for bwkeller
0
178
Member Avatar for henpecked1

How do I prevent the user from entering characters when a float is required? I'm using a bool for valid entry so if they enter text it sends my loop running

Software Development c++
Member Avatar for henpecked1
0
141
Member Avatar for nilesh03

Hi... I'm currently doing a ludo game in C, I'm stuck with the pawn positions on the board. How do I manage the position of the pawns of each player, if I have maximum of two players and 4 pawns? Here is my code for the pawn position but it …

Software Development c
Member Avatar for Salem
0
249
Member Avatar for venumadhavkk

as we know that memory is very important in embedded systems which one is more effective either to use single linked list or Double linked list..even though DLL is more convenient it will consume more memory..

Software Development c linked-list
Member Avatar for Narue
0
203
Member Avatar for wujianwei

the java teacher wants us to write a program project. he says we can do whatever we wanna do as long as it is not too easy and must be interesting. do u think it's hard to write a game program using java in graphic user interface (GUI)? By the …

Software Development gui java user-interface
Member Avatar for majestic0110
0
99
Member Avatar for alcoheca

Hi, I have this issue with a J# project I need to complete for uni. [CODE=java]public class Sprite { private Image m_image; public Sprite(Image image) { m_image = image; } public int getWidth() { return m_image.get_Width(); } public int getHeight() { return m_image.get_Height(); } public void draw(Graphics g, int x, …

Software Development
Member Avatar for alcoheca
0
194
Member Avatar for DWFENNEL

I have a program that has a connection to an Oracle database and is supposed to execute an Insert statement. It runs with no problem until the [I]connection.Execute SQLString[/I] command. This causes a crash. The code compiles error free, and I've checked the syntax of the Insert statement and it …

Software Development oracle visual-basic
Member Avatar for debasisdas
0
100
Member Avatar for chrisdent1986

Hi. I have created a visual basic system that is connected to an oracle database. (I connected through data>Add New Data source>New Connection>Oracle Database etc etc) I am using the system to create new oracle users with passwords etc. I have a form called frmAdd and text boxes txtUser and …

Software Development oracle visual-basic
Member Avatar for debasisdas
0
139

The End.