- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
i am a computer science student but have been interested in the subject for 7+ years
- Interests
- gaming, soccer, reading, and writing
I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would … |
|
I would like to make a navigation bar that spans alot of pages but only links to a few main ones and do not want to copy and paste this bar to each page. is there a way to make a document that contains my navigation bar and just place … |
|
using a linked list in C++ i am attempting to delete a middle node from a series, and then put the series back together. ex: N1 -> N2 -> N3 N1 -> N3 delete N2 but i am getting a segmentation fault (core dumped) at the point in the code … |
|
I am attempting to recompile a C program i programmed on linux. These are the errors i recieve: c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(28): error C2275: 'FILE' : illegal use of this type as an expression c:\program files\microsoft visual studio 10.0\vc\include\stdio.h(66) : see declaration of 'FILE' c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(28): error C2065: 'sy' : undeclared identifier c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(29): error … |
|
Re:
hello guys, how to play audio files using c ?? i am just a beginner to c programming and also to this form.. thanks in advance.. :) with regards, roshan |
|
Re:
My son is very interested in developing a video game. He is only 10, but I want to encourage his interest and was wondering where is the best place for a 10 year old to start? learning language? understanding computer programing? as you can tell, I am not knowledable in … |
|
I was attempting to recreate the fibonacci sequence and I made a working code but my code will refuse to use a number above 12. any ideas what is wrong? #include <stdio.h> #include <stdlib.h> int main() { const int user = 1; long int fib[user]; int i = 0; int … |
|
Re:
Hi I have the following code which is giving an error while trying to use scanf with it. Please help resolve uint16_t x[3]={1,2,3}; uint16_t y; printf(" %"PRIu16",y); (works) printf("Enter a value for y: "); scanf("%"PRIu16, &y); warning: format '%u' expects argument of type 'unsigned int *', but argument 2 has … |
|
Re:
Guys, Am trying to open a file and read the content in that using C from mainframes. Here is the code, #include<stdio.h> int main() { int i; FILE *fp1; fp1=fopen("**********.CPP.SAVE","w"); if(fp1==NULL)return; for(i=0;i<256;i++) { fprintf(fp1,"%c",i); } fclose(fp1); return 0; else { printf("File does not exist"); } } Only the else part … |
|
I am having problems with pointers and i am getting two errors saying "invalid argument type of 'unary *'" float getProfit(float* bushels, float price) { int i = 0; for(i = 0; i < 20; i++); { *bushels[i] = *(bushels[i]*price); } return 0; } any ideas on a solution? i … |
|
Re:
**Write a C program for an automatic teller machine that dispenses money. The user should enter the amount desired (a multiple of 1000 naria) and the machine dispenses this amount using the least number of bills. The bills dispensed are 1000s, and 500s. Write a function that determines how many … |
|
I have made a code and when I compile it I recieve the error saying "/tmp/cc9UNQMJ.o:in function bulbasaur: pokemon.c(.text+0x1074):undefined refrence to print collect2:ld returned 1 exit status" anyone have any idea what this could mean? (i will place full code after work) |
|
I have been very interested in getting a masters in computer science, not just because it looks good but it will give me more experience and more time for job hunting. I learned from my uncle that he actually got a free ride for his masters and phd in areo … |
|
I am working on a website and I am currently trying to make it look more proffesional with the help of CSS(I am writing this all myself, not using a generator). Recently I installed something that would make a more professional. The only problem is that whenever I look at … |
|
what is a good program to write HTML in? i am looking at Note Pad ++ right now since i will need it for lau soon but i would like some opions here first. |
|
i am just trying basic C++ GUI and i ran this code from a tutorial site. [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow) { MessageBox(NULL, "Hello World", "Testing", 0); return 0; } [/CODE] when i run it, it executes and makes a animation of … |
|
Re:
I have been working on a text based adventure game as a project for school. I have become very well acquainted with functions, loops, arrays, etc. I now have to begin thinking on a senior project utilizing something we worked with this year and I love to code but I … |
|
has any tried this? i am probably getting Pro version before the price rises again for a small team i have(4 people), but i want to hear some second opinions so there is less of a chance it is bad. |
|
i am trying to use my program to move north, east, south, west using the first letter of the full word. though, whenever i run my code and get to this point my coordinates do not update and i remain stuck at 4,6(or 5,6). can anyone help me with this … |
|
currently i am writing a text based RPG but, when i call for the fight my rand() either does not seed each time or it glitches to continuously gets the "Boar". if you could please take a look at it and see if the problem is in the coding, i … |
|
this questions may be vague, but how many functions can you open up through function calls without ending the function. and example would be... [CODE] int FunctionOne(); int FunctionTwo(); int FunctionThree(); int FunctionFour(); int FunctionFive(); int main() { FunctionOne(); return 0; } int FunctionOne() { FunctionTwo; return 0; } int … |
|
i am trying to review what C++ stuff i have learned last year before high school starts, but the code i am writing does not run properly after i compile it. the code compiles the code does not execute. the code does not execute after Recruit() runs C_Name() to get … |
|
Re:
hello guys, how can i print a random values and print random function? could you please write the code thank you |
|
Re:
hi, can anyone help me with my assignment, I'm new in c++ and any help will be much appreciated: "You must design, implement and test a simple board game. The design should follow object oriented principles and use the UML tools that were introduced earlier in the module. The coding … |
|
i am trying to create a massive list of letters and numbers using this program. but for some reason i keep getting an error (sometimes this occurs, sometimes it doesn't) [B]error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.[/B] i also get(sometimes this occurs, sometimes it doesn't) [B]Unhandled … |
|
i am having a few errors compiling a code in visual C++ with my jumble word code, can anyone help? [CODE]//word jumble #include <iostream> #include <string.h> #include <cstdlib> #include <ctime> using namspace std; int main() { enum fields{WORD, HINT, NUM_FIELDS}; const int NUM_WORDS = 5; const string WORDS[NUM_WORDS][NUM_FIELDS] = { … |
|
Re:
hello, i just had a very simple question about float, so i am not going to post the full coding, only what matters in this instance. my output of program shows the computed number as 4, instead of 4.00, even though it is declared as float Here is the example: … |
|
Re:
I haven't ran it for a while now and now I need to register it BUT the link it has to register doesn't load anymore...the site loads but all I get is a stupid loading animation for the product key. it's been going for 20 minutes now. I've tried multiple … |