Windows error 0xC000013A, -1073741510

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code314 (0x013a)

Questions

11votes
11answers

Windows scheduled task fails to complete with error code 0xc000013a

I'm using Windows Server 2003 and have a scheduled task that fails to complete. The task is set to run a Windows Command Script (.cmd) at 3pm each day. The script runs a program that extracts some data from a SQL Server database and uploads that data to an FTP [...] read more
windows
windows-server-2003
scheduled-task
9votes
1answer

WebStorm debugger not working when debuggin NPM script, saying Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)

my webstorm debugger works fine if I simply run, say, my server.js directly in debug mode. However, when I run an NPM script in debug mode (npm start for instance), I get the following exception: Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C) I use Webstorm WebStorm 2016.1.2 [...] read more
node.js
debugging
webstorm
6votes
1answer

WebStorm - debugger terminates a process on breakpoints. Process finished with exit code -1073741510

Today, my WebStorm started to behave weird. When I stop it on breakpoint - process falls. It occurs at any breakpoint. I work with nodejs javascript. I tried to record gif, but quality is very bad (sorry for that), however, you can imagine the problem if you look at the [...] read more
javascript
debugging
intellij-idea
webstorm
5votes
1answer

Native exiting with with code: -1073741510 (0xc000013a) while using prime checker function

I have been trying to create my own prime checker function, although strangely when I call isPrime(7) it returns 1, which is good, but when I call isPrime(9) it gives me the following error: -------------------------------------------------------------------------------- 'Mathematics.exe': Loaded 'C:\Documents and Settings\mbryant\My Documents\Visual Studio 2010\Projects\Mathematics\Debug\Mathematics.exe', Symbols loaded. 'Mathematics.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find [...] read more
windows
exit-code
4votes
2answers

__asm__ in c++ error

I'm trying to read the cpuid information with the following cod but it doesn't work. I'm using Visual Studio 2010: #include "stdafx.h" #include <stdio.h> int main() { int a, b; for (a = 0; a < 5; a++) { __asm__("cpuid" :"=a"(b) // EAX into b (output) :"0"(a) // a into [...] read more
c++
visual-studio-2010
assembly
cpuid
4votes
1answer

boost::asio io_service doesn't return after stop()

I'm working on an application that uses boost::asio to listen on different ports for TCP and UDP packets. I did this by using similar server classes as in the asio tutorial examples and I point them all to a single io_service. So overall my main function (win32 console application) looks [...] read more
c++
boost
boost-asio
3votes
3answers

Can't Debug Azure Function - Visual Studio 2017

I create a brand new project using the Azure Functions tool with V1 of Azure functions: enter image description here [https://i.stack.imgur.com/GQMDz.png] I then hit F5 and get the yellow lightning bolt and then an error message: "An error occurred during the activation of a particular registration. See the inner exception [...] read more
azure
visual-studio-2017
azure-functions
azure-functions-core-tools
3votes
3answers

Very basic string formatting not working (Python)

I am just learning python and attempting a very simple string formatting line, but it's not working properly. As you can see from the output below, it is inserting the number in the last of the 3, but the first 2 are just showing the code instead of the number. [...] read more
python
python-3.x
string-formatting
3votes
2answers

Why the second SIGINT can't be captured on win32?

Below is my code to run on win32. #include "stdafx.h" #include <signal.h> void INThandler( int sig ) { printf( "Ctrl-C pressed\n" ); } int main () { signal( SIGINT, INThandler ); while (1) { } return 0; } The output of the program is as follows after I press ctrl-c [...] read more
winapi
sigint
3votes
0answers

How to debug in WebStorm Gulp tasks written in TypeScript from (gulpfile.ts)

Currently it looks very easy to debug Gulp tasks in WebStorm when they are written in JavaScript. You just right click on the gulp task from the Gulp Tasks Window and select debug and voila :). Now with TypeScript used frequently around and after installing https://github.com/TypeStrong/ts-node you can write your [...] read more
typescript
gulp
webstorm
3votes
2answers

_beginthread and WaitForSingleObject

I am implementing a program that launches 4 threads. The functions are: void* SOURCE_in(struct SOURCE_1*); void* SOURCE_out(struct SOURCE*); void* SINK_out(struct SINK_1*); void* SINK_in(struct SINK*); The functions allow communication between 4 blocks. The Block 1 communicates with block 2. Block 2 share information with third block. Block 3 communicates information with [...] read more
c
windows
2votes
2answers

Arguments to function not getting passed in correctly MASM

I'm learning MASM and I can't get this simple code to work. I'm not getting the values I pass into invoke, I don't know what's happening. I've tried push 2, push 2, call pow. Same results. EAX and EDX look like garbage or maybe memory addresses. The thread 0x1544 has [...] read more
assembly
x86
masm
masm32
2votes
1answer

Initial load and performance issue using entity framework 6

I used Entity Framework 6 in my application with database first approach. I added a logging method in the context's constructor : Database.Log = sql=>Debug.WriteLine(sql); It seems that in each instanciation of new context, the structures and datas of the tables are loaded. This caused performance troubles and the load [...] read more
c#
.net
performance
entity-framework
memory-management
2votes
1answer

Win32 GetOpenFileName prevents app from exiting

I'm using Win32 with C++ to make an app that can load the contents of files through a dialog with the GetOpenFileName function. Everything works fine, except when I close the main window and the app quits and prints this to the console: The thread 'Win32 Thread' (0xa50) has exited [...] read more
c++
visual-studio
user-interface
winapi
getopenfilename
2votes
2answers

C# Crash not caught by Debugger

I have a pretty large project that just recently started crashing on exit. I am not the greatest C# coder but everything generally works as intended. In this case however, when I close my console application, it crashes but is not caught by the MSVC Debugger. 1) When I build [...] read more
c#
debugging
exception
crash
exit-code
2votes
2answers

Some "can't find" issues, but the program in running fine

after some pretty fanatic jumbled thingies i successfully managed to run FreeGlue with GLEW. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <GL/glew.h> #include <GL/freeglut.h> #define WINDOW_TITLE_PREFIX "Chapter 1" int CurrentWidth = 800, CurrentHeight = 600, WindowHandle = 0; unsigned FrameCount = 0; void Initialize(int, char*[]); void InitWindow(int, char*[]); void ResizeFunction(int, [...] read more
c++
2votes
0answers

GSL for Visual C++ 2010

I'm trying to use the GSL 1.14 for VC2010 considering the build project proposed by Brian Glandman's (http://gladman.plushost.co.uk/oldsite/computing/gnu_scientific_library.php). After building libraries I tried to run a simple example using the function gsl_sf_bessel_J0. See code below: INCLUDE INCLUDE int main(){ double x; double y; do { printf("\nInforme o valor de x: [...] read more
visual-studio-2010
gsl
1vote
0answers

flex-output file can't be generated

Using VS 2015 and Win Flex , I developed a program which implements lexical, syntactic and semantic analysis according to some grammar written in LEXYY.l file. Win Flex is installed correctly. Here is my main.c file: #define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> #include <stdlib.h> #include <string.h> #include "LEXYY.h" #include "PARSER.h" #include "semantic.h" [...] read more
c
flex-lexer
stdio
1vote
0answers

C++ SFML getting a white rectangle instead of a green circle

Using VS 2017 and SFML 2.5.1 I followed the instructions for installation and used the code given in the tutorial here. I get a window with "SFML Works!" but instead of drawing a green circle I only get a white box like this: enter image description here [https://i.stack.imgur.com/feBYi.png] The output [...] read more
c++
sfml
1vote
0answers

How to send Ctrl+C to a child bash process on Windows?

Environment: * Ubuntu 16.04 on Windows 10 1709 * Python 3.6 Consider this bash script: #!/usr/bin/env bash ping localhost I start it from Windows command prompt: > bash test.sh When I press Ctrl+C, bash stops and exits cleanly: > bash test.sh PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes [...] read more
python
bash
windows-subsystem-for-linux
1vote
2answers

Access violation reading location 0x00000000. with argv[]

I am running the following program and got errors: First-chance exception at 0x0f32d440 (msvcr100d.dll) in c.exe: 0xC0000005: Access violation reading location 0x00000000. Unhandled exception at 0x772815de in c.exe: 0xC0000005: Access violation reading location 0x00000000. The program '[9048] c.exe: Native' has exited with code -1073741510 (0xc000013a). Here is the code #include [...] read more
c
pointers
access-violation
argv
strcmp
1vote
2answers

c++ - string subscript out of range - where am I making a mistake?

Where am I making a mistake?? #include "stdafx.h" #include <iostream> #include <string.h> #include <sstream> using namespace std; string input = ""; string slogovi = ""; int broj = 0; void main() { printf("Please enter a valid name:\n>"); getline(cin, input); int c = input.length(); for (int i = 0; i < [...] read more
c++
string
1vote
0answers

Windows Server scheduled task (R script) fails - log not informative

I'm trying to schedule an R script to run weekly via Windows Server 2008 task scheduler. Originally I set up the task via taskscheduleR like so: library(taskscheduleR) taskscheduler_create(taskname = "twitter_scrape", rscript = "T:\\HackR\\Folder\\web_sna\\code\\twitter_scheduled.R", startdate = format(Sys.Date(), "%m/%d/%Y"), schedule = "WEEKLY") The task failed with an error code of 0xc000013a. When [...] read more
r
scheduled-tasks
windows-server
1vote
2answers

Why is my window closing after some time?

#include <SFML/Graphics.hpp> int main(){ sf::RenderWindow window(sf::VideoMode(200, 200), "Title"); while (window.isOpen()) { // clear window window.clear(); // Draw here // end the current frame window.display(); } return 0; } Why is it closing after 5 to 10 seconds? When I don't have my cursor inside the window, it won't close. The [...] read more
c++
sfml
1vote
2answers

Why is C++ Doing this?

There are no errors showing for this but for some reason just after I enter the integer from the cin the window closes ignoring my answer, which should determine if it says "No that isn't my fav number" or continue to a function. Here is my code: #include <iostream> using [...] read more
c++
visual-studio
1vote
1answer

Proper way to check for memory leaks in Visual C++

I've been trying to improve my own personal C++ skills lately, so I implemented an Array List as a learning exercise. After I got it working, I started checking for memory leaks, and became very confused by the output. Source on GitHub (main.cpp, ArrayList.cpp, ArrayList.h) I got a lot of [...] read more
c++
c
arraylist
memory-leaks
1vote
0answers

C++ SetConsoleCtrlHandler returns program to Main or not

I am trying to catch the event closing console window of a console application written in C++. From the other post I made last night and some google, I got down to using BOOL WINAPI ConsoleHandler(DWORD CEvent) { char mesg[128]; switch(CEvent) { case CTRL_C_EVENT: Beep( 750, 300 ); escape = [...] read more
c++
event-handling
console-application
1vote
1answer

webstorm doesn't stop on breakpoints in nodejs app

I'm trying to use debugger in webstorm 8. I created an express application and set breakpoint in index.js file. When I start application in debug mode, I see the message in console: "C:\Program Files (x86)\JetBrains\WebStorm 8.0.1\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=2610 --nolazy bin\www debugger listening on port 2610 Process finished with exit [...] read more
node.js
debugging
webstorm
1vote
1answer

OpenCV error: "Cannot load image!"

After compiling OpenCV's source and configuring Windows 7 and VS2010 to link the libraries correctly, I was able to compile the following code: #include <opencv2/highgui/highgui.hpp> #include <iostream> using namespace cv; using namespace std; int main() { Mat im = imread("C:\projects\cvtest3\lena.jpg"); // this *is* the proper path, I'm sure if (im.empty()) [...] read more
opencv
1vote
1answer

OpenCV | Mat to gpuMat Exception at memory location?

I'm having a problem trying to convert from cv::Mat to gpu::Mat. I'm using VS2012 Win7 x64. this is the code: #include "opencv2/imgproc/imgproc.hpp" #include <opencv2/opencv.hpp> #include "opencv2/highgui/highgui.hpp" #include <opencv2\gpu\gpu.hpp> #include "cv.h" #include "cxcore.h" #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <iostream> using namespace cv; using namespace cv::gpu; int main () { [...] read more
c++
opencv
gpu
1vote
3answers

I get this error "Unhandled exception at 0x009437bd in Hash functions.exe: 0xC0000005: Access violation reading location 0x00000001"

I get this error over and over again when I run my project. Don't know where is the problem. I know it's about some free memory I used again, or a null pointer or access to a non exist memory but actually I checked all the pointers and they are [...] read more
c++
visual-studio-2010
0votes
1answer

Console application scheduled task not exiting some times on Windows Server 2008 R2

I have a C# console application as a Scheduled Task on Windows Server 2008 R2. The application is scheduled in Windows Task scheduler to run after every 15 minutes. At the end of the application I have, Logger.Log("Killing app"); Environment.Exit(0); Sometimes(may be once a month), my application do not exit. [...] read more
windows-server-2008-r2
scheduled-task
windows
0votes
5answers

Given two int arrays, return an array of length 2 containing as much will fit from the first and second array

I'm trying to solve the exercise bellow. I don't get any compiler errors. When I run it though, in the main method only the first Make2 gets called and the program stops working with this error: The program '[4864] Make2Two.vshost.exe' has exited with code -1073741510 (0xc000013a). Could someone help me [...] read more
c#
arrays
0votes
0answers

Scheduled powershell task ends with '0xC000013A' error code

I am trying to schedule an application to run at login (specifically "TineNvidiaUpdateChecker"). This is an .exe file, which briefly opens a cmd window on execution. I want this window to stay open, so I want to run it through powershell, with the '-NoExit' parameter. I schedule a task at [...] read more
scheduled-tasks
powershell-7.0
0votes
1answer

Inject a repository into model class?

i am using the Loopback4 framework. I try to inject a repository into some model class (documentRepository into userModelClass). I am not sure if it is possible to do something like that. The reason why i want to do this is because in the repository i have a method which [...] read more
loopbackjs
loopback4
0votes
1answer

Why Deadlock if put sending Terminate message and thread.join() in one loop in Rust book 20.3?

Why Deadlock if put sending Terminate message and thread.join() in one loop? In book of The Rust Programming Language 20.3 Graceful Shutdown and Cleanup https://doc.rust-lang.org/book/ch20-03-graceful-shutdown-and-cleanup.html Here is the output for below code that could cause deadlock. > Running target\debug\main.exe > > Worker 0 got a job; running. > > Shutting [...] read more
rust
0votes
1answer

C++ CTRL+C Handler having undefined behavior?

I have a large C++ program running on Windows 10, that has a main system answering socket requests and 2 threads running monitoring systems via separate instances of a socket client class. At software shutdown (CTRL+C or exit X button), I need to be able to gracefully stop 2 threads, [...] read more
c++
winapi
crash
undefined-behavior
0votes
0answers

How to switch between a finite number of Forms stored inside an array?

I'm building an application which is composed of many differents tabs. I have created one Form per tab and now just need to be able to switch between them. All those forms are stored inside an array that all the classes can access. When I try switching between tabs, it [...] read more
c#
forms
winforms
0votes
1answer

sum = sum + num discussion question post error in output but no errors and does not compile

I have submitted my discussion question response online and queried the instructor who cannot help me because his "compiles fine". I need some help with where to get help with visual studio and learning c++ The textbook we were provided uses "namespace std". We are not allowed to use it. [...] read more
visual-c++
0votes
0answers

C++ + SDL Program just stops

I am trying to use SDL to create a game. It all worked perfectly but it just stopped working. I use SDL_Init to init everything but it just stops. std::cout << "Before INIT" << std::endl; //Start SDL if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { std::cout << "SDL could not initialize." << std::endl; [...] read more
c++
sdl-2
0votes
4answers

reading strings in c++, compiling in c++

#include "pch.h" #include <iostream> #include <cmath> #include <string> #include <cstring> #include <sstream> #include <istream> using namespace std; int main() { std::string color, pluralNoun, celebrity; std::cout << "enter a color: "; std::getline(cin, color); std::cout << "enter a plural noun: "; std::getline(cin, pluralNoun); std::cout << "enter a celebrity: "; std::getline(cin, celebrity); cout [...] read more
c++
string
compilation
0votes
1answer

WebStorm React Native cant start debug

I get this error starting the debug session. I have never used WebStorm before and following the setup from JetBrains "C:\Program Files\JetBrains\WebStorm 2018.2.6\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --inspect-brk=51768 L:\react\PropertyFinder\PropertyFinder\index.js Debugger listening on ws://127.0.0.1:51768/b33603e7-c88c-4336-b4d1-6042b064fcb0 For help, see: https://nodejs.org/en/docs/inspector Debugger attached. L:\react\PropertyFinder\PropertyFinder\index.js:1 (function (exports, require, module, __filename, __dirname) { import {AppRegistry} from 'react-native'; ^ [...] read more
react-native
webstorm
0votes
0answers

Occasional memory leak of VC++ console application with system("pause")

OK. So this memory leak occurs randomly. And I tried to reproduce it in a simplified version of my original program. It's a VC++ console application with common header files for MFC. The following is my memManager class, which originally is a image correction class that manages memory and also [...] read more
c++
memory-leaks
console-application
0votes
2answers

Vigenere Cipher error in C++

I am creating a vigenere cipher in c++ and when i run the code it has an error says: (Press Retry to debug the application) ConsoleApplication2.exe has triggered a breakpoint. Debug Assertion Failed! Program: C:\Windows\system32\MSVCP140D.dll File: c:\program files (x86)\microsoft visual studio 14.0\vc\include\xstring Line: 1681 Expression: string subscript out of range [...] read more
c++
debugging
visual-studio-2015
console-application
vigenere
0votes
1answer

Webstorm stops process when Break on Exception is enabled

I have recently upgraded the node version of my project from 0.12.X to 4.2.4 Now whenever I run the project with debug and have "Break on Exception" (the lightning symbol) turned on. The application simply exits with the message: Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C) No [...] read more
node.js
webstorm
0votes
0answers

Selenium grid hub and node on same machine with C#

i trying to run a selenium grid test case using C# . I am using same machine for hub and node. To strat node D:\Selenium>java -jar selenium-server-standalone-2.48.2.jar -role webdriver -hub http://10.74.224.251:4444/grid/register -browser browserName=internet explorer, platform=WINDOWS version=7 -port 5556 -dwebdriver.ie.driver="D:\Selenium\DLL\IED riverServer_Win32_2.45.0\IEDriverServer.exe" and to start hub D:\Selenium\DLL>java -Dwebdriver.ie.driver="D:\Selenium\DLL\IEDriverServer_Win32 _2.45.0\IEDriverServer.exe" -jar selenium-server-standalone-2.48.2.jar -role [...] read more
c#
selenium-grid
0votes
1answer

Read and write from standard I\O streams causes error

Why this cause my program to finish with following exit code deque<int> di((istream_iterator<int>(cin)), (istream_iterator<int>())); copy(di.begin(), di.end(), ostream_iterator<int>(cout, " ")); > The thread 0x5d4 has exited with code -1073741749 (0xc000004b). > > The program '[3776] Josuttis.exe' has exited with code -1073741510 > (0xc000013a). EDIT: This error i have during program execution: [...] read more
c++
io
stl
stream
iterator
0votes
1answer

Missing ouptut in exe file

I am using following C++ code to enter a value of X which is used to print out variable CDF. This C++ code is expected to give very similar value we get from NORMDIST function in excel. However I get following error in debugger with out getting any output in [...] read more
debugging
visual-c++
0votes
1answer

DLL function (in C# .NET) called from pure C program causes error

I have a C program that needs some functionallity of a library that is written in C# .NET. After I googled up a way how I could do that didn't took long until I hit another problem. It seems that calling a method/function from that library is not a problem [...] read more
c#
.net
c
visual-studio-2010
exception
0votes
2answers

Why are threads interrupted even when atexit or ConsoleHandler for SetConsoleCtrlhandler is executed?

I have a multithreaded application under Windows 7. I need to correctly finish jobs in threads which have an open descriptors, connections and so on when a user presses 'X' in the corner of command line, 'Ctrl+C', shuts down OS and so on. I've set a handler for SetConsoleHandler which [...] read more
c++
windows
command-line
interrupt-handling
atexit
0votes
0answers

Trouble while compiling a multithreaded code

I've try to compile this code with Visual Studio 2012 but I get the errors below. How can I fix that? And they are due to what? However the program run fine but in singlethreaded mode. #include <stdio.h> #include <time.h> #include <omp.h> int main() { double start, end; double runTime; [...] read more
c++
c
multithreading
0votes
1answer

Can I increase number of SVM training label in OpenCV?

I'm building OCR application with Visual Studio 2010, C++, SVM in OpenCV. It's ok when I train SVM with under 181 different labels but fails when over 181 labels. Below is IDE and OpenCV error message and my code. Please help me, thank you so much! IDE error message > [...] read more
c++
opencv
memory
machine-learning
svm
0votes
1answer

Pinvoke error stack unbalanced - lzo decompression C function

I know this question has been asked several times, as follows: (Unbalanced Stack!) But I'm using an open source DLL, LZO 2.0.3, written in ANSI C. Information on the DLL is here: LZO download the source My C# program is a downloader that establishes a TCP socket with a server [...] read more
c#
.net
pinvoke
dllimport
lzo
0votes
2answers

RGB image into binary image using OpenCV

So, I'm super noob and I'm trying to do something that convert an RGB image to binary image in C/C++, using OpenCV. My first program was this: #include <opencv.hpp> using namespace cv; int main ( int argc, char **argv ) { Mat im_gray = imread("img1.png",CV_LOAD_IMAGE_GRAYSCALE); Mat im_rgb = imread("img.png"); Mat [...] read more
c++
opencv
0votes
4answers

System.IndexOutOfRangeException in a CSV Reformatting Program

I'm working on a program that reformats CSV files using C#. It imports a CSV and uses certain columns to be represented in a new CSV file. I'm getting a System.IndexOutOfRangeException exception using this code. using System; using System.Collections; using System.Linq; class CSVFiles { static void Main(string[] args) { // [...] read more
c#
debugging
csv
file-io
0votes
1answer

C++ data validation not working properly and PDB error?

Evening everyone. I have a program that is meant to have a ticket price and and have parent and child fundraisers to discount the ticket. The program is simple enough, but I'm also supposed to have data validation that makes sure the user only enters 20, 25, or 30 for [...] read more
c++
runtime-error
validation
pdb
0votes
1answer

OpenGL program not reaching main

I am programming a 3D application in C++ using visual studio 2010, and after testing the code using breakpoints, I have found that the main method isn't being reached. The cmd window is opening, and I believe that the dlls are being loaded, however I am getting the message at [...] read more
c++
opengl
dll
include
0votes
3answers

.exe window exit after

I used visual studio 2012 and this is my first time to use that. I started wth NEW→Project-Empty→Project-sourcethenfiles-add→new items-Cpp file and input the following codes: #include <iostream> using namespace std; int main() { int cents; int dollars, quarters, dimes, nickels, pennies; cout << "Enter total cents: "; cin >> cents; [...] read more
c++
visual-c++
visual-studio-2012
0votes
4answers

reading a .txt file and displaying numbers from the file

I am trying to read a .txt file using c# and displaying its contents but I am getting error as IndexOutOfRangeException with error code as 0xc000013a. Here's my code: static void Main(string[] args) { StreamReader sStreamReader = new StreamReader("d:\\TEST.txt"); while (!sStreamReader.EndOfStream) { string sLine = ""; if (sLine != null) [...] read more
c#
file
-1votes
2answers

Python - Calling a definition inside a class within another file

I am currently working on the framework for a simple turn based game. I am trying to call a definition within a class Inside of a separate file from my current one. The Program I am importing the moveset file from is called Pymon_Movesets. I am importing it into the [...] read more
python
-1votes
1answer

getting many errors from these lines of code:

this is the main.cpp file, everything seems to work fine until I hit the "Arr = ship1.retrieve()" function call. #include<iostream> #include<string> #include"ship.h" using namespace std; int main(){ int newarray[5][5] = { 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, [...] read more
c++
-1votes
1answer

Pygame: error using sprite

Hey i'm working on a little game project on pygame, but everytime i try to run my code i get an error when he gets to using my sprite: class Sprite: def _init_(self, xposition, yposition, name): self.x = xposition self.y = yposition self.bitmap = image.load(name) self.bitmap.set_colorkey ((0,0,0)) def set_position(self, xposition, [...] read more
python
pygame
sprite
-2votes
2answers

Simple addition not working in C#

I'm very new to c# and was trying to make a simple program to add 3 numbers, I'm not sure why it is not working here is the code and the error. int Value; int Number; int Thing; Console.WriteLine("Please State the First Number"); Value = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Please State the Second [...] read more
c#
.net
-3votes
1answer

Can't compile because replace function improperly used?

I stream in a text file, which uses semi colons to separate values. I want to replace the semi colon with a colon, and stream out into a newly made .csv file CURRENTLY, the program runs without an error during compiling, but when i specify an output filename, it creates [...] read more
c++
string
csv
-3votes
1answer

C# program problems[Sorting two massives into one]

I need to sort two arrays into one,but 0000000 happens in the middle of output. Whats the problem? Cant find a mistake, its in the bubble sort? Here is the code > 'ConsoleApplication5.vshost.exe' (CLR v4.0.30319: > ConsoleApplication5.vshost.exe): Loaded > 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. > Skipped loading symbols. Module is optimized and the debugger [...] read more
c#
arrays
sorting
-5votes
1answer

Struct in Vector, a vector include 8000 members

I have some problem building a 8000 rows vector. Each row is a struct including 5 columns. I am not sure what the C++ have no response even error message... it just says "The thread 'Win32 Thread' (0x3b48) has exited with code -1073741510 (0xc000013a). The thread 'Win32 Thread' (0x309c) has [...] read more
c++
vector
struct

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0