- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm coding a program to learn OpenGL in C++ (based off of The Benny Boxes tutorials) and I've run into a snag where I don't get any errors, but my shaders refuse to apply to the triangle that I'm rendering. I'm going to give you all the relevant code but … |
|
//Reading the last name from the file ifstream file; file.open("studentName.txt"); char name[20] ; file>>name; cout<<"The last user was: "<<name<<"\n"; file.close(); //Replace the last student name with the new one in the text file cout<<"What is your name?: "; cin>>name; name[0]=toupper(name[0]); ofstream file2; file2.open("studentName.txt"); file2<<name; file2.close(); When I run the program … |
|
Hello, I was wondering how to pass an array to a class constructor. When I run my program, I get the same gross pay for every different employee even if I enter in a different number of hours for each one. That might be where I have a problem. Any … |
|
Hello, I have the following problem: Entering coordinates of points on a plain with keyboard (as rows x,y). Analysing this coordinates. Replacing coordinates in vector (point - structure data type). Then calculating distance from the first point to all another points. I've written the code of this problem using arrays … |
|
So I have this but I'm not really sure of how to print the smallest element of array `a` , print the sum of all the elements in array `a` , and print the average of all the elements in array `a`. Help please. Is this how to print out … |
|
I really love working with structs, and I get how they work and everything. And I know my issue right now is the math (I'm horrible at math!) But my problem: I need to create a program that reads from a .txt file of employees (let's say 5) an they're … |
|
Hi, anyone like to offer some extra eyes on this problem? I am having trouble with the array pointer and with the variables. I don't seem to have the pointer set up because the additional times the array is called it is empty. Also, if I don't use integers the … |
|
guys i need help with my program.if i run this code its crashing. if there is a value in my QLineEdit the button **BMIINTERPRETATION** must activate, i set it like this( **bimout->setDown(true)**) so here is my code. i don't know where i am going wrong any help will be appreciated.thanx … |
|
Hi, I'm a beginner in Vb.net. I have a problem like this. My table name in dtabase is *tblsales* ![67f4b407a5443c6d48ba102a4779c9f2](/attachments/large/4/67f4b407a5443c6d48ba102a4779c9f2.JPG "67f4b407a5443c6d48ba102a4779c9f2") and i have 4 combobox in month and year ![81361dad1be3d14458ae4ad0a3aa9a55](/attachments/large/4/81361dad1be3d14458ae4ad0a3aa9a55.JPG "81361dad1be3d14458ae4ad0a3aa9a55") i need to find data between this 4 combobox. And this is the code i've tried before. For … |
|
how to find list of open port and close open port in vb.net. |
|
Good morning community, Can someone help me with the IndexOf method to reverse the name: Don Paul to Paul, D |
|
Good morning, Can someone help me to figure out how if I should used a Public Sub New or a Public Function. My codes are: Public Function ClassAverage(ByVal Average As String) Dim Grades() As Decimal = {76.5D, 63.4D, 45.4D, 94.5D, 81.3D, 66.2D, 68.6D} Dim sum As Decimal = 0 For … |
|
Good afternoon everyone. I made a project using Florian Leitner-Fischer's usb library. I can send data to the bus 100%, but when i read i get the recieve frame and then my application hangs for some reason. When i uncomment out "MsgBox(content)" in the event catcher, the program no longer … |
|
Hello everyone. Im trying to write a program for a cellphone that gets inputs from the user, does some calculations then displays various outputs. I am very new to java programming and getting a little confused. I am having trouble with finding out how to read the values from the … |