49,757 Topics
| |
Hey I have a problem regarding skewness of non square objects when i scale them with respect to screen size and then rotate them in an orthographic view on the z axis. This is my code for setting it up to draw. The problem i am facing is that when … | |
Error E2188 eidstructures.hpp 26: Expression syntax Error E2257 eidstructures.hpp 64: , expected Error E2188 eidstructures.hpp 73: Expression syntax Error E2257 eidstructures.hpp 81: , expected Error E2188 eidstructures.hpp 90: Expression syntax Error E2257 eidstructures.hpp 96: , expected Error E2188 eidstructures.hpp 105: Expression syntax Error E2257 eidstructures.hpp 111: , expected Error E2108 … | |
hi guys , im designing a c++ code for an assignment and im badly stuck.i have to create a programme word checker to change plurals to nouns. i have it completed but have to store it as statistics. so when the user selects the VIEW button at the end of … | |
write a program in c++ to determine the highest score of any set of scores | |
I'm writing a binary tree program to do the following actions: a. Print out the tree in inorder b. Print out the tree in preorder. c. Print out the tree in postorder. d. Print out the number of nodes in the tree. (Traverse the tree and count the nodes) e. … | |
| hello am trying to start another exe from my c program , am usign createprocess() but am getting error that , the commond is not recognized as internal or external STARTUPINFO startupInfo = {0}; startupInfo.cb = sizeof(startupInfo); PROCESS_INFORMATION processInformation; CreateProcess( bpath, // bpath is char and have C:\myf\myapp.exe NULL, NULL, … |
When I wrote something like cout << "Every age has a language of its own"; It's supposed that the sentence between the two quotation marks will not be targeted directly to the screen, but will be stored somewhere first before directed to the screen. What is that place in which … | |
so basically the thing is nearly complete, and im just trying to get it to work, im pretty sure i just havent closed off some statments and such, but i cannot for the life of me see where, or how to get the error messages to leave me alone in … | |
Hi I would like to create a function that appends a character to a character array.. this is what I have got so far.. [code=c] char * appendCharToCharArray(char * array, char a) { char * ret = (char*)malloc(sizeof(array) + 1 + 1); strcpy(ret,array); ret[strlen(ret)] = a; ret[sizeof(ret)] = '\0'; return … | |
How to convert C++ code to C. Write a program in C that asks a user for the name of a file. The program should display the first 10 lines of the file on the screen (the "head" of the file). If the file has fewer than 10 lines, the … | |
hey guys ! i am working on a card game .. so far i have printed the cards and then shuffled them .. Now it says that Each player has a stack of cards. At the beginning of the game before dealing, this stack is empty. When dealing the cards, … | |
Hi guys i know that in linux you create a c file and use make or gcc or clang to compile it and then run it. My question is how do you run a c file or c++ file in vs2012 with out creating a solution. Also how do you … | |
how to decrypt dll?? i have asdecr.dll file how to decrypt this dll?? please explain in detail | |
#include "stdafx.h" #include <iostream> using namespace std; int getScore(int& score); int calculateGrade(int score); int _tmain() { int courseScore; cout << " Line 1: Based on the course score" << " this program computes the " << "course grade." << endl; getScore(courseScore); int calculateGrade(courseScore); system ("pause"); return 0; } int getScore(int& … | |
i am posting the code below.... please tell me where the error is ..... i am new to codeblocks.... the error comes at swt and iswt function as undefined referrence........ #include <iostream> #include <fstream> #include "wavelet2d.h" #include <vector> #include <string> #include <cmath> using namespace std; int main() { cout << … | |
as a programmer what will you do to refresh your mind about the program you learn to do. its been a 1 year i never created program. but i familiarize myself languages that i use like C++,visual basic,html.php. | |
What is the most efficient way to read a bit at a particular position in a byte? | |
For some reason I keep getting the errors: "cop4530::BST<int>::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: "cop4530::BST<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: Im positive that it has to do with something with the function that that begins at line 114, please help. | |
Guys i need your help i just want u to help me create a simple real life project with c++,i've just finished learning it and i passed it,so i would like to see it work in real life,besides i would also like to see my programs work out of code … | |
# Pseudo Code # Hello, I have just joined a new class called "Programming Concepts". This subject is still very new to me. I am having trouble understanding what I need to do. If somebody could explain to me what my assignment means, I would really appreciate it. Providing some … | |
I need help running my program this is what it asks me for "Write a program that asks the user for the name of a text file. The program should display the first 10 lines of the file on the screen. If the file has fewer than 10 lines, the … | |
A newb programmer here I have a project involving pedestrian simulation I'm planning to use libpedsim.dll in python with Ctypes but so far I cannot make the functions working Can anyone point out how to make use of this DLL? This is the class documentation: http://pedsim.silmaril.org/documentation/libpedsim/latest/classPed_1_1Tscene.html This is the link … | |
I am trying to implement a priority queue with an unsorted array and hit a wall when I received a Segmentation fault:11. I used gdb and got the error: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00000001000017fa in Item<std::string>::setKey (this=0x0, k=3) at PriorityQueueArray.h:27 27 … | |
When im using fstream.h its giving an error with using namespace std, how ever when i use simple fstream without .h , it is not giving error but not reading the file, How can i use fstream object using fstream.h header file along with using namespace std? Your urgent response … | |
Hi, I'm working on classes with pointers. I do have a main function that calls this. This program compiles. But the input from the user isn't getting passed to the other functions. The user_input function should take the response and pass it to the create_posting then it is outputted to … | |
Is there any difference in processing speed if use pointers in function instead of passing by value? | |
I want to port some graphics applications in C++ which compile to Windows Executables to run as WEB apps. I don't want to throw away all the code I've written in C++, so it seems to me that Microsoft Azure would be prefect. My idea is that I learn to … | |
I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. … | |
Lab Assignment 1 - A Simple UNIX Shell Objectives: The objective of this assignment is to understand the workings of a command-line interface (CLI) and to obtain a working knowledge of process forking and signalling. Assignment: In this assignment we will build a command shell in stages. Our command shell … | |
Hey guys I have some problem in my c++ program hope you guys can give a hand -------------------------------------------------------------------------------------------------------- do printf("Please key in the number of passenger >>"); scanf("%s" , &no_passenger_check); if (strlen(no_passenger_check)>3) { repeat = 1; }else { if (isdigit(no_passenger_check[0,1,2])) { repeat = 0; } else { repeat = 1; … |
The End.