132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
[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 | |
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 | |
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?? | |
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 … | |
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 | |
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 | |
| |
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 | |
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++) … | |
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++ | |
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 | |
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; … Software Development c++ file-stream file-system ios legal visual-studio | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
Can anyone please help on how to create log file in Visual C++ using MFC???? Software Development c++ | |
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++ | |
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++ | |
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 | |
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.... … | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
[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++ | |
Hi, i need a program which formats the floppy. Can you help me about this problem? Software Development assembly | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.