199,114 Archived Topics
Remove Filter ![]() | |
can you guys help me out i dont know any of the c++ functions and i dont know how to convert this tnx in advance [CODE]#include <iostream> #include <stdlib.h> #include <fstream> using namespace std; struct student { char fname[100]; char lname[100]; int id; float cgpa; }; int add( student * … | |
hello guys , i want to earn c++ but i dont have it's compiler but i have c compiler so can i use it or i need c++ compiler and where can i get it | |
Hey guys. I coded the following program below: but I have a problem... I think its perhaps the logic I have used is not too good... here it goes... The program below should: ask the user to enter a letter ('a' to 'z' or 'A' to 'Z') and outputs VOWEL … | |
I am new here and this is my first post so I'm sorry if anything in this post is done incorrectly. I have taken a C++ class but did not get into any object oriented parts of it (all linear). Now I am in an object oriented class which is … | |
Hello!.. I am a VB6 programmer and I want to learn basic of C# Programming. So can anyone help me out?.. I just want to learn on "How will I do this in Visual C#".. this is a sample code from VB6, now, how will I do this in C#? … | |
Hi folks, Im basically a php programmer. So im very new to asp and vbscript. I had a project to create something in php and asp. I was able to get it done in php but im struggling with asp. I need to create a array to send to an … | |
Hi, Yesterday when I was testing my game out, written from scratch, my DirectX debugger suddenly started spewing out this error code after a couple of runs of the program. Now, this error appears just a couple of seconds after the program goes fullscreen and starts rendering some graphics and … | |
Hi all, the init.xml file has among its lines, one line as `<guid>5934</guid>` init.xml ------------------- ------------------- <guid>5934</guid> ------------------- ------------------ I need to increment the guid every time I modify the file. Could any one please tell me how to do that. Regards, Prashanth | |
help me plssss...this is my last sem and i need help because we have a thesis and i need online system..can you help me in my title proposal??? | |
I have a little project im working on, and the fundamentals are fine, i just have two specific queries. I have learned the code shown here from scratch the past week from samples and tutorials plus a little outside the box thinking. My only problem now is that my two … | |
Hello, Can you help me... I am trying to make a vbs file that when you open it, it automaticly takes up the full screen. Do you know a code that will do this? -Thanks | |
Friends , I am working with [B]windows application with C#[/B].As i am new to crystal reports am having a doubt. Iam displaying the report fom dataset by passing two parametes. After passing these two parametes i am binding the data into a dataset. The code is given below Dataset ds1=new … | |
Hi everyone, I have a program that displays Chinese and Japanese characters. I've written the program inside Netbeans and it works fine. But when I use the program as an executable jar file, as built in the dist folder by Netbeans, the Chinese and Japanese characters are displayed as nonsense. … | |
Sorry for the new questions... I've created this program to display a table . How could I write this code using while statements instead of for? [code]#include <iostream> using namespace std; int main() { for (int x = 1; x < 4; x++ ) { cout << x << " … | |
Ok so i made a chat program that works on Lan. Now i want to make it work through the internet. I can get the internet ip address. Something like 99.144.21.93. SO in the socket i make the ip address of the server/client destination the 99.144.21.93. It doesn't work though. | |
Please help me try to figure this out. Keep getting this error, error C3861: 'intialbid': identifier not found Can't figure out how to fix it, here is my code, the program is not finished. [CODE] #include "stdafx.h" #include <iostream> using namespace std; #include "myfuncs.h" int main() { do { char … | |
Hello! :) I'm trying to achieve an 'engine' of a kind in a DLL project. I have successfully made a DLL that works, but as simple as Hello World. Now I'm coding a framework into the DLL project, but I'm having some trouble with the singleton function. Im getting this … | |
Hello,i had to write a paper about data structutes implemented using STL,and I was wondering if anyone can answer this question for me for the conclusion of the paper: 1) What can i say about the results obtained with STL when implementin Data Structures 2)Future research about data tsructures using … | |
Is there a way to have an SMS authentication? Meaning a user puts there phone number it, they get sent an SMS message with a number, put the number in the website to verify the account. Any tutorials? | |
I am using Smarty for Template Engine. For one page, I want to display list of months in chronological order. The current month is July, so order should be July August September .. . . .. June. Any idea ? | |
I just finished a small winsock program for sending files, but its soooooooooooooooooooooooooooooooooooooooooooooooooooooooo slooooowwwwwwwwwwwwwwwww:yawn: so I am hoping someone here may be able to offer me some advice. so far, the program works as follows: 1. User1 chooses a file and attempts to send it. 2. User2 chooses to accept … | |
Hi there. I am looking to create a script in php that will get an image from an upload form and upload it to a site using ftp. It needs to save the original image in the site images/full/ and also create a proportional image thumbnail (100x100) in images/thumb/ What … | |
I have this program, when it starts, i am unable to press numbers. By pressing F this turns the numbers on. However, the result is, i have to hold down F to use the numbers. I thought declaring ignition as true would stick after i had released F. And pressing … | |
Hey Guys, I know this is a known issue but I have had no luck with finding a fix for the issue I am getting with IE8. I get a nasty black border around my png that I am using the Jquery fade function. Does anyone have any useful hacks/tricks … | |
I need some help. I have figured out most of my script but I need to search a string and see if it starts with certain characters and Does not end in another. [$line1 = "EB*1**96" #should produce true value and blank line] [if ($line1 =~ /^EB\*/ and $line1 ne … | |
You are given a one-dimensional array of signed integers. Find the (contiguous) subarray with the largest sum. If none of the array elements are negative, the solution is obviously that the subarray is equal to the entire array, so the problem is interesting only if the integers are signed. There … | |
hello guys , i need your help i dont know c# and i want to learn it but before that i want to know what i can do with c# so please guys tell me exactly what i can do with c# and can i create a full website with … | |
Hi all, I'm having a compilation problem relating to some Chinese and Japanese characters that I have hardcoded into a hash table. When I compile this code inside an IDE like Eclipse or Netbeans I get no warnings, but when I do it outside of the IDE I get the … | |
Hello! I have just created a script (see it at the end of the message) to watermark images. If you want to, could you check it and suggest ways to improve it? Think of me as a very beginner ... Cheers! [CODE]#Import the required modules import os, shutil, fnmatch, Image, … | |
So, I'm attempting to make a program that searches online for a file, downloads it, then in the file that is downloaded has like something like this: [code=text] None Yet! (Sorry, but there is nothing yet!) [/code] Then on the right of the listbox there is a richtextbox that I … | |
I made a simple app to turn off a monitor. The entire program consists of just this: monoff.cpp [code] #include "windows.h" #define MON_OFF 0x2 int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, MON_OFF); return 0; } [/code] For some reason it still wont run … | |
In my form, there is 1 Button and 1 Label. There is no text in Label1 right now. I have coded the button: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "1" End Sub End Class[/CODE] Now when i run the project, i click … | |
When I finally got the input to work in this code it stopped displaying the txt on the screen. Any suggestions on how to fix this. [code]import pygame, sys from pygame.locals import * import time mo = 0 # set up pygame pygame.init() # set up the window windowSurface = … | |
Hi, I have basically created two functions in a filed called functions.php . They are as follows: [CODE] # Form Token Hash Generator (must be declared after if statement) function GenerateFormTokenHash(){ $token = $_SESSION['token'] = md5(uniqid(mt_rand(), true)) ; return $token; } # Form Token Hash Validator function IsValidFormTokenHash(){ return $_POST['token'] … | |
now i know that there is a thing that "you cant stay logged inforever" but isnt there some sort of ultra cookie that doesnt get cleared when a user is clearing their cookies from their browsers? and when someone logs out of my site, i set the session to expired. … | |
Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone … | |
I'm in the process of working on a page that uses layers and iFrames in conjunction with javascript and <div> layers. The problem I'm hoping to solve with your help is that I implemented [CODE] onclick="this.className='stylesheetstyle'"[/CODE] in the <a href> tag and so therefore when users click the links, the … | |
Simple program to check whether a number is prime or not. Something is seriously wrong because every result I get is 'false'. Help me out please. Thanks in advance. [CODE] class primeTesting { public static void main(String[] args){ int i=7; //changing the value everytime always gives false.... ??? boolean bool=false; … | |
I have two issues with my code: 1.When I run the code the components of the GUI are very large. I have attached a screen shot of what it looks like. I'm not sure how to change the size. I've tried using: nameOfButton.setSize(12,12); but that doesn't work. 2. I'm new … | |
What are this? I read this on some forums. It goes like this [CODE]da.InsertCommand = new SqlCommand ("insert into table values('')",con);[/CODE] a dataadapter calling an sql command? Could someone explain me this? | |
hi its been 2 years since the last time i program in c and this is my first after 2 years. So i'm not that familiar anymore to the syntax in c(especially i'm already programming in java). So my problem is, i don't know if i did something syntactically wrong … | |
[I]Hi experts,[/I] [I]please help me,[/I] [B] In my WebApplication ,In vertical scrollbar scrolldown some position after the refreshing the page again scrollbar position goes to the top of the verticalscrollbar How to get back the scroll position after the refreshing the page[/B] [B]Thanks and Regards, Srinivas Kota.[/B] | |
Hi Guys I've been for the last 8 months studying and creating a project and finished - at least as long as I could :) - Now I have a BIG problem,I want to make the Executable "Package". for installation and ultimate test of what I've build Is there someone … | |
I need to know what should I do to show event time (stored in mysql) according viewer's local time. I have stored time in two format (one simple 12:30; and another in timestamp format). The timings are of future and stored as GMT. Now, I would like to show time … | |
Hi all, I want to know if it possible to load different images into page every time the website is viewed? If so, please help. Thanks in advance | |
Hi, Can any one tell me how to make secure php site or what is the key point for making secure website using php. -keval | |
![]() | Sorry for the nooby question, but i've always wanted to make an instant messenger, I figured java was the best language as it is Multi platform and extremely portable. I wondered if their was any open source code i could look at to help me. Thanks ![]() |
Hi All, I m trying to access a file residing at c: drive from a remote computer by using RDC. bt it is showing exception if i m using FileInfo() method for opening it. help me in solving this problem. Thanx in advance. | |
Hello I am new to C++ programming and i am trying to write a c++ class for a calculator. I am having trouble with my get_token function where i'm trying to read one character at a time and if the character represents a number , it should convert it into … |
The End.