- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 12
- Posts with Upvotes
- 11
- Upvoting Members
- 10
- Downvotes Received
- 12
- Posts with Downvotes
- 9
- Downvoting Members
- 7
Hello gentelemen, I'm sure many of you are experiencing what I am experiencing right now. I'm halfway into Christmas break, back at my parents', with the paperbacks I brought along depleted, the roguelike I downloaded unable to start after an OS upgrade and literally nothing else to do for the … |
|
i just want to whether there is a replacement for getch() in C++. my friend said getch() is C function. thanks! |
|
Don't know if this should be under this section or virus section but here goes... Ever since a few days ago, my PC won't shut down, restart, log off, etc. No matter if I shut down from Start menu or from Task Manager, it doesn't do anything. I have to … |
|
Is there a function used to calculate the length of an array. For instance, if someone enters John, the function outputs 4. Or is it necessary to write a function to do it, and how is it done. (This is not homework this time, just want to know for my … |
|
I have been everywhere; Steam and Activision forums. I cant find the thing that fix my problem, Here is my problem. I have also contacted steam directly. Problem: ======= ================= System specifications: ================= Operating System: windows 7 home premium 64 bit CPU: Intel Core i7 @ 1.73 GHz RAM: 4GB … |
|
Okay..so here is the problem.... My laptop suddenly cant access the internet..how do i know this? Well, you know theres a sign right if your connected or not? Mines got an "X" so nno connection right? but then i accidentally opened Google Chrome and poof! I can access still access … |
|
I recently replaced my Hard drive to a bigger one 320 to 500 with the same RPM 5400. I was having trouble with my realtek Wireless controller and the blue screens seem to happen only when I am on-line (playing FB games). I have Windows 7 and I keep getting … |
|
I took apart my vaio laptop (I have had experience with Vaio Laptops) and put it back together twice trying to figure out why the screen is blank and also the indicator (LED indicator) that looks like a cup does not lite up. Everything else works. The screen for the … |
|
|
Hi guys, I'm not sure how to enter new entries into an array that is full. scanf() allows us to input a number. array[i] allows us to put the number into the array The problem with int array[x] is that you have to define the number of values in the … |
i wrote a program to determine the binary digits of the entered integer. I want to implement it in other programs directly, instead of typing the same code again n again. Does anyone know? how to do that????????? #include<conio.h> #include<stdio.h> int main() { int n,a[20],i=0; printf("Enter a number: "); scanf("%d",&n); … |
|
Hello great people, I have a challenge passing array into functions.. I will be very grateful for quick responses.. THANKS |
|
#include <Stdafx.h> #include <iostream> #include <math.h> #include <stdlib.h> #include <time.h> using namespace std; int rand_0toN1(int n); int main() { int n, i; int r; srand(time(NULL)); // set a seed for random-number generation. cout<< "Enter number of dice to roll: "; cin>> n; for(i = 1; i <= n; i++) { … |
|
Everytime I clear space on the computer, it suddenly fills up! Simple and annoying. I'm getting concerned of the cause, as its causing incoveniences. Thanks in advance. |
|
ok so i feel like my computer screen is being watched like remote desktop but not exactly and it is being done thru a website. like lets say you have a computer. http://smarttech.com/sync its some what like that kinda program but it doesnt have a program that you have to … |
|
main() { int i=1; printf("%d,%d,%d",i,i++,i++); } the o/p is 3,2,1. But how it is possible In which order does printf executes??why it is not 1,2,3. |
|
Hi, I'm a junior computer science student and I'm currently new to this forum. Im having some problems understanding the code excerpt from a book (see code excerpt below). The code is suppose to delete characters from a string, based on the given prototype: void RemoveChars(char str[], char remove[]); str[] … |
|
i have a array 10X13. where it say 1 i want to print image called wall. ok so the array part is easy. iam pretty sure its fine. less continue. const int ROWS = 10; const int COLS = 13; int level[ROWS][COLS] = { {1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, … |
|
Greetings The quicksort i am building works for only aprox 50000 element in a list. If i go above that i will run out of memory and the program will crash. This is only when i use the median of three or left as my pivot element. When i use … |
|
hey how to clear the screen in c++ i m using dev c++. clrscr()doesnot work |
|
Hi again, all--- I'm trying to write a function that will add two matrices and output the resulting matrix. I've got two matrices already and everything, now i just need to write the function that i can use to call in my switch loop (The program must read two matrices, … |
|
How will I implement colors in a console application developed using C++? What are the color codes of different colors? |
|
Hi, I have a matrix of size of n x m, how can the file be read without any given size, thus making it possible to be read with any given size matrix?. Here is the scenario, I have a matrix of size 3 x 2 then someone wants to … |
|
Hello, I am trying to create a Login system, so far it writes users correctly however it doesn't seem to be reading it correctly as it always claims the username/password is incorrect even though when I check the file it is. Could someone help, thanks! class TestLogin { public: char … |
|
Hello I am looking to read a file into a 2d array to show which spaces have been taken/ haven't taken whiey will show a # if not taken and a T if taken, so far I just have a text file I created which shows like this: T # … |
|
hello everyone..i'm trying to create a simple window using Win API in visual studio 2010 using the code below #include <Windows.h> LPCTSTR g_lptstrClassName="myWindowClass"; LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd,msg,wParam,lParam); } return 0; } int WINAPI … |
|
Hi guys Actually i have problem to convert my C++ program to C! Because C is too old and unusable, i tried to find and read so many sources, but finally i got some errors. Anyone can help me?! Thanks Regards C++ Files: Main.cpp #include <iostream> #include <cstring> #include <cstdlib> … |
|
HWND hwndt; hwndt = FindWindow(NULL,"Windows Task Manager"); here FindWindow funnction not work in c language its returns NULL yes i know i can use first perameter also but i wanna use second perameter titel in this function i use dev c++ compiler and also add to project user32.a lib tell … |
|
When i Connect to Mysql using TURBO C++,im getting error unable to open include file mysql.h mysql_version.h mysql_con.h mysql_time.h i added the include files and set path . even then im getting error . help me :( |
|
double a [3]={1.1,2.2,3.3}; cout<<a[0]<<" "<<a[1]<<" "<<a[2]<<endl; a[1]=a[2]; cout<<a[0]<<" "<<a[1]<<" "<<a[2]<<endl; ans to the above is 1.1 2.2 3.3 1.1 3.3 3.3 I am new to array. Please expalin why a[1]=a[2] gave me 3.3 3.3. thank you |