8,298 Topics
![]() | |
Hi, I am still very new to C++ and need help with new/delete, I am posting what I wasn't able to find answers for on msn search or by myself after hours of testing.. 1. Am I using new/delete correctly? [code] char hehe[1024]; memset(hehe,0,sizeof(hehe)); sprintf(hehe,"Some Text"); char *testx; int testxlen … ![]() | |
Hi Every body I want to know how it is possible to connect to database whether it may be Oracle,Ms-Access.I am using Turboc2 Compiler and windows OS and i found something like ProC that is file extension as .pc in Oracle 9i is there any relation between these i want … | |
I am trying to write a program to convert a roman numeral to decimal. If I define a variable with: [inlinecode]char roman_num[15];[/inlinecode] can I then select individual characters in that roman numeral with: [inlinecode]roman=roman_num[i];[/inlinecode] where "i" is a number value of the character I want to retrieve from 0-14? Also, … | |
HEYZ CAN ANYONE GUIDE ME WHCIH PROJECT TO TAKE UP IN C#.... THAT IS MARKS GAININ....NEED UR HELP DEAR PEOPLE OUT DERE...LOOKIN FORWARD FOR SOME NICE IDEAS N HELP RELATED TO THOSE IDEAS....REPLY SOOONNNNNNN :confused: :lol: | |
Hi Everybody! First of all i would like tell my sincere thanks to founder of this site and people sharing the information. I am Newbie to this forum & to C language too.. Now i want to start to learn C. Could any body suggest/send me some quick start & … | |
Hi, can someone help me with a code sample? i want to create a .wav file with C#. :cry: Please .... Thanks! best regard | |
I am trying to pass data from one form to another using session parameters. The second form says that my passed data fields are 'out of scope'. What does this mean? | |
I need some help to do the following Count all spaces written to the output file Count all alphabetic characters in the output file [code]include "stdafx.h" #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream myfile ("checkIn.dat"); if (myfile.is_open()) { while (! myfile.eof() … | |
hope any body know how to make 3d text iin c# | |
Hi i am a beginner in c# programming. Can anybody tell me what happens in the code lines for this class : [code][COLOR=#0000ff]using [/COLOR][COLOR=#000000]System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] Wilson.ORMapper;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] WindowsApplication3.Data[/COLOR] { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]class[/COLOR] LogEntry : DataObject { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]int[/COLOR] referringID; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] type; [COLOR=#0000ff]private[/COLOR] DataObject owner; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] … | |
Hi, I have a table called event in my database. I have 2 fields called Event_Id and Project_Id. I want to search the table to find out if there's event_id=27 for a project_id. Kind Regards, Rowin | |
Is there any real concern with using iostream.h and stdio.h in the same program? Sometimes I feel like printf, and sometimes I feel like cout. | |
Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert … | |
Hi, Is it possible to set the value of a DateTimePicker to blank so that when you run the application there's no value in the DataTimePicker? Kind Regards, Rowin | |
I am trying to update two related tables, so I created the code below. However, when the program runs the information is not updated to the DB and a message saying update unsucessful appears. Please could you help me, what am I doing wrong? [code] private [COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] saveToolStripButton_Click([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] sender, … | |
Hi, I have an C++ Builder application. I want to print a report with the values appearing in my application. I get these values from my database. I already have a crystal report format of how the report should be printed. How to do this? Kind Regards, Rowin | |
The first three people to complete this program will be entered into the annual contest for Top Coder! The grand prize is the chance to become one of TopCoders independent programmer. This is a special opportunity to get paid for programing projects that you create. Below is the program to … | |
Hello to you all , Major problem in C , Files included Summary of problem : Program will not copy the feild "name" from struct "univ->std.name" properly. the rest of data is presented fairly. do not touch function "output_university" . Thank you , yotam , Israel . | |
Hi all, I am a beginer in VB.NET :rolleyes: .... now, i am working on a project so as usaul we wonder if we could do something .... etc. I write the whole application in VB.NET but i observed that i need to write a few line C# code inside … | |
Does anyone know where I can get technical information about developing HTTP applications in C++. I'm not talking about CGI, I mean the classes or functions that allow you to directly communicate on the web via HTTP without a web server. | |
Hey does anybody know how to make window forms using openGL in c sharp. Or know of a tutorial online, i've looked but turned up nothing useful, just that csGL is a good library to use for openGL projects. Thanks | |
I'm trying to do a program that takes two vectors and computes the alternating sum, appends the vectors, checks whether two vectors have the same elements in some order, ignoring multiplicities, and removes duplicates. Any help would be appreciated. [CODE] #include <iostream> #include <vector> using namespace std; /* Functions on … | |
Does anyone have any idea how I would code this I'm having some trouble coding it, I would appreciate it very much if you could provide a code in C++. Been trying ot figure out this for couple days but keep getting syntax errors for some reason. 1.) let the … | |
Hi, I've just started out learning C# / .NET at a fast rate. Then, I plan to look for company to get experience even if working for free. Any ideas or suggestions would be appreciated. Anyone know where I can gain experience when I learn enough without certification and only … | |
Hi, I've just started out learning C# / .NET at a fast rate. Then, I plan to look for company to get experience even if working for free. Any ideas or suggestions would be appreciated. Anyone know where I can gain experience when I learn enough without certification and only … | |
I have been working on this code for a banking program I am trying put together. Trying to test my ability to grasp this stuff on my own. I am stuck on this part and maybe it is my non-math mind that is causing a block. Can someone help me … | |
Sorry because of disturbing, but i really need your helps . Please help me in C#. | |
Hi, I was lately interested in creating dll from C++ and using the functions in C#, I've came across one tutorial where the guy is creating dll in C++ and using them in another c++ project with VS 2003. I've tried the same with my VS 2005 but I didn't … | |
Hello to you all , I have been assigned to in C to build a function which will take 2 strings and count (in recursive way) how many chars are alike (case sensitive). I have setup the main and also a function which recieves the input from user . I … | |
A Nother Question What Are Classes And Is It Possible To Use A Class For Macking Pictures Or Shapes That You Can See? | |
:idea: :idea: hey, guys & experts :D i'm havin' a big pro now~~i can't past the test 3 now... i know i may hav a bug but seems too hard for me to find it out can anyone help me???seg fault... i hav asked many ppl but....plzzzz ====the file==== dict.cc … | |
Hi, I want to change the font size of text in C language for printing text. Thanks in Advance. Ashish | |
[U]Background:[/U] I'm running a custom built computer with a huge C drive and an even bigger D drive. Windows was installed on C and many programs, files, pictures, and documents were on D. I started having internet connection problems so I called the techs at Bellsouth several times. Each time … | |
Hi freinds, I need your help regarding the following piece of code. public unsafe struct GUID { public int Data1; public System.UInt16 Data2; public System.UInt16 Data3; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public byte[] Data4; } When I build the code, I get the following error:- Usafe code may only appear if … | |
C:\Documents and Settings\Andy M. Moore\My Documents\Visual Studio Projects\caller\trunk\OfflineRegistry\OfflineRegistry.cs(203,15): warning CS1591: Missing XML comment for publicly visible type or member 'SecondSec.SERC.Common.ContainerObjectModel.RegKeyContainer' What does this mean? | |
Does anyone have any suggestions as to how I could better this code.(Not too fancy). I'm supposed to use a switch statement. I think the concept isn't bad. But some things are off as far as my opitions displaying correcly. [INLINECODE]#include <iostream> using namespace std; int main () { char … | |
Hello, I have this program here>> it's a random guessing number game. It works great the only thing I can't figure out, is how to display the [B]best score[/B] at the end of the Loops. The outer loop is suppose to keep track of the number of games played ( … | |
Hi all! I´m having a problem, I'm reading from a txt file values (doubles) but my cout outputs the following: -9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596e+061 Press any key to continue When it should read this: 1.986772 2.607455 0.000000 0.000000 The code is: [CODE] #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <time.h> … | |
Hello, I have this for loop here, and everything is great except I can't figure out how to display 3 numbers per line instead of all number on one line. Can anyone help? Thanx! #include <iostream> using namespace std; [INLINECODE]int main( ) { int x; cout << "Numbers between 5 … | |
Hi, I'm new to this C++ stuff. So if anyone can help that would be nice. I have this program to generate a random number and a the user inputs a number from the keyboard to correctly guess the number that the computer randomly chooses. but the numbers are always … | |
I started wrting c lessons for absoulute begginers to advanced users, I think material can be considered quality, and my students learn programming with this stuff. If you wish feel free to start reading it.Its only 8 lessons for now so maybe could be easier for you to start following … ![]() | |
Hello will someone please help!! Here is the assignment • Using a function with the header below, pass it arguments in main, alter ary1 contents and display ary2 contents in the function definition. Display the contents of ary1 in main after the function is called. void arrayTst(int ary1[], const int … | |
Below is my source code for a tictactoe program. However, my output after first move always states invalid choice, no matter what number I enter? [code] #include <iostream> #include <string> #include <cmath> using namespace std; class TicTacToe { public: TicTacToe(); // constructor int Pick_Player(); // member function int Pick_Row(); // … | |
Hello. I am looking for a c library that emulates the double data type (64bit) with integers (32bit). it should have basic arithmetic functions like add, sub, mul and div. already searched the web, but no luck so far. hope you can help me, thanks. | |
Can anybody please tell me what is wrong with this piece of code? [code] std::string query; std::cout << "Enter the Query String :";// Type something with spaces here. e.g ( "financial instruments being traded on the American stock exchange" ); while (std::cin >> query ) { std::cout << query <<std::endl; … | |
Hi! I'm new in C++, but perhaps this is a general problem, not C++ exclusive. This is printed in my console, "-1.#IND", when using a printf, when this occurs? thanks |
The End.